Add title text to audit log severity icons

This commit is contained in:
rubenwardy 2020-07-11 04:11:32 +01:00
parent dfbcbbbb47
commit d5b8dd8909
1 changed files with 2 additions and 1 deletions

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