소스 검색

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


불러오는 중...
취소
저장