felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1666137 - in /felix/site/trunk: lib/view.pm templates/skeleton.html
Date Thu, 12 Mar 2015 11:09:38 GMT
Author: marrs
Date: Thu Mar 12 11:09:37 2015
New Revision: 1666137

URL: http://svn.apache.org/r1666137
Log:
Removed old page handling, so we no longer refer to anything in /site/ from our pages.

Modified:
    felix/site/trunk/lib/view.pm
    felix/site/trunk/templates/skeleton.html

Modified: felix/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/felix/site/trunk/lib/view.pm?rev=1666137&r1=1666136&r2=1666137&view=diff
==============================================================================
--- felix/site/trunk/lib/view.pm (original)
+++ felix/site/trunk/lib/view.pm Thu Mar 12 11:09:37 2015
@@ -42,12 +42,6 @@ sub single_narrative {
 
     $args{refs} = {};
 
-    # render tip box with reference to Confluence export
-    # if translation for a page is still pending
-    if($args{headers}->{translation_pending}) {
-        $args{oldpage} = "/site/" . basename($args{path});
-    }
-
     # ensure loading child pages
     my $page_path = $file;
     $page_path =~ s/\.[^.]+$//;

Modified: felix/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/felix/site/trunk/templates/skeleton.html?rev=1666137&r1=1666136&r2=1666137&view=diff
==============================================================================
--- felix/site/trunk/templates/skeleton.html (original)
+++ felix/site/trunk/templates/skeleton.html Thu Mar 12 11:09:37 2015
@@ -47,13 +47,6 @@
         {{ breadcrumbs|safe }}
       </div>
 
-      {%if oldpage %}
-      <div class="tip">
-           This page is a translated version of <a href="{{ oldpage }}" target="felix_cwiki">{{
oldpage }}</a>. In case of
-           doubt you might want to refer to the old page.
-      </div>
-      {% endif %}
-      
       <h1>{% block title %}{% endblock %}</h1>
       {% block content %}{% endblock %}
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">



Mime
View raw message