Преглед изворни кода

Fix another jinjaism

pull/62/head
Ben Kurtovic пре 5 месеци
родитељ
комит
06ac61d1dd
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      src/copyvios/templates/support/cv_result.html.jinja

+ 2
- 2
src/copyvios/templates/support/cv_result.html.jinja Прегледај датотеку

@@ -123,9 +123,9 @@
No sources checked.
</div>
{% endif %}
{% if len(result.sources) > 10 %}
{% if result.sources | length > 10 %}
<div id="cv-additional" class="cv-source-footer">
{{ len(result.sources) - 10 }} URL{{ "s" if len(result.sources) > 11 else "" }} with lower similarity hidden. <a id="show-additional-sources" href="#">Show them.</a>
{{ result.sources | length - 10 }} URL{{ "s" if result.sources | length > 11 else "" }} with lower similarity hidden. <a id="show-additional-sources" href="#">Show them.</a>
</div>
{% endif %}
{% if skips or result.possible_miss %}


Loading…
Откажи
Сачувај