Przeglądaj źródła

Fix another jinjaism

pull/62/head
Ben Kurtovic 5 miesięcy temu
rodzic
commit
06ac61d1dd
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/copyvios/templates/support/cv_result.html.jinja

+ 2
- 2
src/copyvios/templates/support/cv_result.html.jinja Wyświetl plik

@@ -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 %}


Ładowanie…
Anuluj
Zapisz