]> git.lizzy.rs Git - cheatdb.git/blobdiff - app/templates/admin/audit.html
Add title text to audit log severity icons
[cheatdb.git] / app / templates / admin / audit.html
index 1ac793b5e8474d457d76a56c9f9ce42306f7eb93..49e2aaf8845754064ae8f6eb859044fcd750fc8e 100644 (file)
@@ -17,7 +17,8 @@ Audit Log
                                {% endif %}
 
                                <div class="row {% if entry.severity == entry.severity.NORMAL %}text-muted{% endif %}">
-                                       <div class="col-sm-auto text-center" style="width: 50px;">
+                                       <div class="col-sm-auto text-center" style="width: 50px;"
+                                                       title="{{ _('Severity: %(sev)s.', sev=entry.severity.getTitle()) }}">
                                                {% if entry.severity == entry.severity.MODERATION %}
                                                        <i class="fas fa-exclamation-triangle" style="color: yellow;"></i>
                                                {% elif entry.severity == entry.severity.EDITOR %}