浏览代码

Only show best match if no URL was given/

pull/24/head
Ben Kurtovic 12 年前
父节点
当前提交
eeca804e1a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      pages/copyvios.mako

+ 1
- 1
pages/copyvios.mako 查看文件

@@ -85,7 +85,7 @@
<h2 id="cv-result-header">No violations detected in <a href="${page.url}">${page.title | h}</a>.</h2>
% endif
<ul id="cv-result-list">
% if not result.violation:
% if not result.violation and not query.url:
<li>Best match: <a href="${result.url | h}">${result.url | urlstrip, h}</a>.</li>
% endif
<li><b><tt>${round(result.confidence * 100, 1)}%</tt></b> confidence of a violation.</li>


正在加载...
取消
保存