Properly handle redactions

This commit is contained in:
2022-08-03 07:20:30 +01:00
parent 2a3b1b82b3
commit b2c009080d
2 changed files with 13 additions and 13 deletions

View File

@@ -10,22 +10,18 @@
<i class="fa-solid fa-chart-mixed"></i>
</div>
<div class="nowrap-child">
<p>{{ card }} hits</p>
</div>
{% if redacted != 0 %}
<div class="nowrap-child">
<p>{{ redacted }} redacted</p>
</div>
{% endif %}
<div class="nowrap-child">
<p>{{ took }}ms</p>
<p>fetched {{ results|length }} of {{ card }} hits in {{ took }}ms</p>
</div>
{% if exemption is not None %}
<div class="nowrap-child">
<i class="fa-solid fa-book-bible"></i>
</div>
{% else %}
{% if redacted != 0 %}
<div class="nowrap-child">
<p>{{ redacted }} redacted</p>
</div>
{% endif %}
{% endif %}
</div>
<div class="box">