Skip to content

Commit

Permalink
Autorise le staff à voir la biographie d'un membre banni
Browse files Browse the repository at this point in the history
  • Loading branch information
Migwel committed May 23, 2023
1 parent 445eb9d commit 477c184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/member/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ <h3>{% trans "Présence" %}</h3>
{% if profile.biography or profile.sign or profile.user == user %}
<div class="profile-card bio-container">
<div class="message-content">
{% if not profile.end_ban_read and not profile.can_read %}
{% if not profile.end_ban_read and not profile.can_read and not user.is_staff %}
<div class="no-bio">{% trans "La biographie de ce membre est masquée car il a été banni définitivement." %}</div>
{% elif profile.biography %}
{{ profile.biography|emarkdown }}
Expand Down

0 comments on commit 477c184

Please sign in to comment.