]> git.parisson.com Git - teleforma.git/commitdiff
fix colors
authoryomguy <yomguy@parisson.com>
Mon, 9 Jul 2012 10:41:19 +0000 (12:41 +0200)
committeryomguy <yomguy@parisson.com>
Mon, 9 Jul 2012 10:41:19 +0000 (12:41 +0200)
teleforma/templates/telemeta/base.html
teleforma/templates/telemeta/profile_detail.html

index 33ffa20b767e809a82ba08c7224a6bda10e05681..a533dfe02c971c13e7e83418d958aba8ebf01d06 100644 (file)
@@ -82,7 +82,6 @@ alt="logo" />
  <li><a href="{% url teleforma-users %}" class="yellow">{% trans "Users" %}</a></li>
  {% endif %}
 
-
  {% if user.is_authenticated %}
   {% if user.is_staff %}
    <li><a href="#archives#" class="green">{% trans "Archives" %}</a>
index 58c0a96c656df27c6cf93a4ab1083fca3f719686..fa4a347a2decee2230c675baad9debaf6feecb17 100644 (file)
@@ -31,7 +31,7 @@
 
   {% endblock %}
 
-  {% if user.is_authenticated %}
+  {% if user.is_authenticated and user.username != usr.username %}
    <div class="module_action">
     <a href="{% url postman_write usr.username %}" class="component_icon button" id="action_orange">{% trans "Send a message" %}</a>
    </div>