Переглянути джерело

Only show percent confidence if there's a possible match.

pull/24/head
Ben Kurtovic 10 роки тому
джерело
коміт
8c172fb032
1 змінених файлів з 3 додано та 1 видалено
  1. +3
    -1
      templates/index.mako

+ 3
- 1
templates/index.mako Переглянути файл

@@ -129,7 +129,9 @@
<li>No matches found.</li>
% endif
% endif
<li><b><span class="mono">${round(result.confidence * 100, 1)}%</span></b> confidence of a violation.</li>
% if result.url:
<li><b><span class="mono">${round(result.confidence * 100, 1)}%</span></b> confidence of a violation.</li>
% endif
% if query.redirected_from:
<li>Redirected from <a href="${query.redirected_from.url}">${query.redirected_from.title | h}</a>. <a href="${request.url | httpsfix, h}&amp;noredirect=1">Check the original page.</a></li>
% endif


Завантаження…
Відмінити
Зберегти