Browse Source

Make the 'Compare' link always produce a permalink.

copyvios-ng
Ben Kurtovic 9 years ago
parent
commit
f84a0b471b
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      templates/index.mako

+ 1
- 5
templates/index.mako View File

@@ -233,11 +233,7 @@
% endif
</td>
<td>
% if i == 0:
<a href="#cv-chain-table">Compare</a>
% else:
<a href="${request.script_root | h}?lang=${query.lang | h}&amp;project=${query.project | h}&amp;oldid=${query.oldid or query.page.lastrevid | h}&amp;action=compare&amp;url=${source.url | u}">Compare</a>
% endif
<a href="${request.script_root | h}?lang=${query.lang | h}&amp;project=${query.project | h}&amp;oldid=${query.oldid or query.page.lastrevid | h}&amp;action=compare&amp;url=${source.url | u}">Compare</a>
</td>
</tr>
% endfor


Loading…
Cancel
Save