Sfoglia il codice sorgente

Make the 'Compare' link always produce a permalink.

copyvios-ng
Ben Kurtovic 8 anni fa
parent
commit
f84a0b471b
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. +1
    -5
      templates/index.mako

+ 1
- 5
templates/index.mako Vedi 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


Caricamento…
Annulla
Salva