瀏覽代碼

Make the 'Compare' link always produce a permalink.

master
Ben Kurtovic 8 年之前
父節點
當前提交
f84a0b471b
共有 1 個檔案被更改,包括 1 行新增5 行删除
  1. +1
    -5
      templates/index.mako

+ 1
- 5
templates/index.mako 查看文件

@@ -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…
取消
儲存