Bläddra i källkod

Fix another jinjaism

pull/62/head
Ben Kurtovic 5 månader sedan
förälder
incheckning
06ac61d1dd
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      src/copyvios/templates/support/cv_result.html.jinja

+ 2
- 2
src/copyvios/templates/support/cv_result.html.jinja Visa fil

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


Laddar…
Avbryt
Spara