Browse Source

minor fix: moved the title template function in the template body

damien 11 years ago
parent
commit
c866f043c4
1 changed files with 3 additions and 4 deletions
  1. 3 4
      pboard/pboard/templates/document.mak

+ 3 - 4
pboard/pboard/templates/document.mak View File

@@ -1,6 +1,9 @@
1 1
 <%inherit file="local:templates.master"/>
2 2
 <%namespace name="POD" file="pboard.templates.pod"/>
3 3
 
4
+<%def name="title()">
5
+POD :: ${current_node.getTruncatedLabel(40)} [${current_node.getStatus().label}]
6
+</%def>
4 7
 
5 8
 <%def name="node_treeview_for_set_parent_menu(node_id, node_list, indentation=-1)">
6 9
   % if indentation==-1:
@@ -79,10 +82,6 @@
79 82
     % endif
80 83
 </%def>
81 84
 
82
-<%def name="title()">
83
-POD :: ${current_node.getTruncatedLabel(40)} [${current_node.getStatus().label}]
84
-</%def>
85
-
86 85
   <div class="row">
87 86
     <div id='application-left-panel' class="span3">
88 87
       <div>