Browse Source

Update bans admin list

rafalp 6 years ago
parent
commit
0726a4c0cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/templates/misago/admin/bans/list.html

+ 1 - 1
misago/templates/misago/admin/bans/list.html

@@ -38,7 +38,7 @@
     {{ item.get_check_type_display }}
   {% endif %}
 </td>
-<td class="small{% if item.is_expired %} text-muted{% endif %}">
+<td class="small{% if item.is_expired or not item.expires_on %} text-muted{% endif %}">
   {% if item.expires_on %}
     <abbr data-timestamp="{{ item.expires_on.isoformat }}" data-format="lll">
       {{ item.expires_on }}