浏览代码

Add a permalink to result pages.

pull/24/head
Ben Kurtovic 10 年前
父节点
当前提交
487eb6196e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      templates/index.mako

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

@@ -153,6 +153,7 @@
% else:
seconds.
% endif
<a href="${request.script_root | h}?lang=${query.lang | h}&amp;project=${query.project | h}&amp;oldid=${query.page.lastrevid}&amp;action=${query.action}&amp;${("use_engine=" + int(query.use_engine not in ("0", "false")) + "&use_links=" + int(query.use_links not in ("0", "false"))) if query.action == "search" else ("url=" + query.url) | h}">Permalink.</a>
</div>
<div id="cv-result" class="${'red' if result.confidence >= T_SUSPECT else 'yellow' if result.confidence >= T_POSSIBLE else 'green'}-box">
<table id="cv-result-head-table">


正在加载...
取消
保存