Browse Source

Add help text to attachment types badge in admin

rafalp 6 years ago
parent
commit
a76021ba1c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      misago/templates/misago/admin/attachmenttypes/list.html

+ 3 - 3
misago/templates/misago/admin/attachmenttypes/list.html

@@ -30,11 +30,11 @@
 </td>
 <td class="badges-list">
   {% if item.is_locked %}
-    <span class="badge badge-warning">
-      {% trans "Only downloading" %}
+    <span class="badge badge-warning" data-tooltip="top" title="{% trans 'Uploading new files of this type is disabled' %}">
+      {% trans "Limited" %}
     </span>
   {% elif not item.is_enabled %}
-    <span class="badge badge-dark">
+    <span class="badge badge-dark" data-tooltip="top" title="{% trans 'Uploading and downloading files of this type is disabled' %}">
       {% trans "Disabled" %}
     </span>
   {% endif %}