Skip to content

Commit

Permalink
Supprime le bouton d’envoi de MP sur les profils bannis
Browse files Browse the repository at this point in the history
  • Loading branch information
Karnaj committed Aug 1, 2016
1 parent c50283c commit e238bd1
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 @@ -194,7 +194,7 @@ <h2 id="activity">{% trans "Activité" %}</h2>
<div class="mobile-menu-bloc mobile-all-links" data-title='{% trans "Actions" %}'>
<h3>{% trans "Actions" %}</h3>
<ul>
{% if usr != user and not profile.is_private %}
{% if usr != user and not profile.is_private and profile.can_read_now %}
<li>
<a href="{% url 'mp-new' %}?username={{ usr.username }}" class="ico-after cite blue">
{% trans "Envoyer un message privé" %}
Expand Down

0 comments on commit e238bd1

Please sign in to comment.