Browse Source

link to revision tab in revision links (so that you stay on the same view)

Damien Accorsi 11 years ago
parent
commit
ed676d75fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pboard/pboard/templates/document-widgets-tabs.mak

+ 1 - 1
pboard/pboard/templates/document-widgets-tabs.mak View File

6
   <h4>${_('Revisions')}</h4>
6
   <h4>${_('Revisions')}</h4>
7
   <ul>
7
   <ul>
8
   % for version in poNode.getHistory():
8
   % for version in poNode.getHistory():
9
-  	<li><a href="${tg.url('/document/%i/%i'%(version.node_id, version.version_id))}">${version.created_at.strftime("%a %x %X")}</a></li>
9
+  	<li><a href="${tg.url('/document/%i/%i#tab-history'%(version.node_id, version.version_id))}">${version.created_at.strftime("%a %x %X")}</a></li>
10
   % endfor
10
   % endfor
11
   </ul>
11
   </ul>
12
 </%def>
12
 </%def>