Skip to content

Commit

Permalink
Ajout du badge "Banni" dans les sous-réseaux IPv6 de la page des memb…
Browse files Browse the repository at this point in the history
…res par IP (#6695)

Fait suite au commit 09a5059
  • Loading branch information
philippemilink authored Dec 25, 2024
1 parent 79a2033 commit 4096ebf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/member/admin/memberip.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{% if ":" in ip %}
<p>
{% blocktrans %}
Liste des membres dont la dernière IP connue fait partie du bloc <code>{{ network_ip }}</code>
Liste des membres dont la dernière IP connue fait partie du bloc <code>{{ network_ip }}:/64</code>
{% endblocktrans %}
</p>

Expand All @@ -70,7 +70,10 @@
{% for member in network_members %}
{% captureas last_visit %}{% if member.last_visit %}{{ member.last_visit|format_date:True }}{% else %}<i>{% trans "Jamais" %}</i>{% endif %}{% endcaptureas %}
<tr>
<td>{% include "misc/member_item.part.html" with member=member avatar=True %}</td>
<td>
{% include "misc/member_item.part.html" with member=member avatar=True %}
{% include "misc/badge.part.html" with member=member.user long_badge=False %}
</td>
<td>{{ member.user.date_joined|format_date:True }}</td>
<td>{{ last_visit }}</td>
</tr>
Expand Down

0 comments on commit 4096ebf

Please sign in to comment.