浏览代码

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


正在加载...
取消
保存