Refactor approval queue to display last meaningful status #94

Merged
Oleg-Komarov merged 13 commits from approval-queue into main 2024-04-30 10:48:38 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit eb7745647a - Show all commits

View File

@ -5,7 +5,7 @@
<section> <section>
<div class="card pb-3 pt-4 px-4 mb-3 ext-detail-download-danger"> <div class="card pb-3 pt-4 px-4 mb-3 ext-detail-download-danger">
<h3>&nbsp;{% trans "Suspicious upload" %}</h3> <h3>&nbsp;{% trans "Suspicious upload" %}</h3>
{% blocktrans asvar alert_text %}Scan of the {{ suspicious_files.0 }} indicates malicious content.{% endblocktrans %} {% blocktrans asvar alert_text %}Scan of the {{ suspicious_files.0 }} indicates malicious content.{% endblocktrans %}
<h4> <h4>
{{ alert_text }} {{ alert_text }}
{% if perms.files.view_file %}{# Moderators don't necessarily have access to the admin #} {% if perms.files.view_file %}{# Moderators don't necessarily have access to the admin #}

View File

@ -35,9 +35,9 @@
</thead> </thead>
<tbody> <tbody>
{% for stats in object_list %} {% for stats in object_list %}
{% with extension=stats.extension%} {% with extension=stats.extension%}
{% include 'reviewers/components/review_list_item.html' with extension=extension stats=stats %} {% include 'reviewers/components/review_list_item.html' with extension=extension stats=stats %}
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>