Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajout du badge "Banni" dans les sous-réseaux IPv6 de la page des membres par IP #6695

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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