Permalink
Browse files

Nofollow revision history

  • Loading branch information...
1 parent a2d1221 commit 8dc884f8cecb58d7d1ee055e946eeb72521fba0d @dandv dandv committed Sep 26, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 root/base/page/bottomnav.tt
@@ -21,13 +21,13 @@
[% END %]
[% IF page.content_version && page.content_version > 1 +%]
<li>
- <a title="[%loc('See previous revision')%]" href="[% c.uri_for('view', {rev=> page.content_version - 1}) %]" accesskey="R">[%loc('Back in time')%]</a>
- ([% page.content.max_version%] [% loc('revision') %][% IF page.content_version > 1 && !(lang=="pl"||lang=="ru"); "s" ; END %])
+ <a title="[%loc('See previous revision')%]" href="[% c.uri_for('view', {rev=> page.content_version - 1}) %]" accesskey="R" rel="nofollow">[%loc('Back in time')%]</a>
+ ([% page.content.max_version%] [% loc('revision') %][% IF page.content_version > 1 && !(lang=="pl"||lang=="ru"); "s" ; END %]) [%# TODO lame language-specific pluralization %]
</li>
[% END %]
[% IF (page.content_version AND page.content.max_version AND page.content_version < page.content.max_version) +%]
<li>
- <a title="[%loc('See next revision')%]" href="[% c.uri_for('view',{ rev=> page.content_version + 1 }) %]" accesskey="R">[%loc('Forward in time')%]</a> ([% loc('x more',page.content.max_version - page.content_version )%])
+ <a title="[%loc('See next revision')%]" href="[% c.uri_for('view',{ rev=> page.content_version + 1 }) %]" accesskey="R" rel="nofollow">[%loc('Forward in time')%]</a> ([% loc('x more',page.content.max_version - page.content_version )%])
</li>
[% END %]
[% ELSE %]

0 comments on commit 8dc884f

Please sign in to comment.