Browse Source

Fixed link to avatar options on user profile

Rafał Pitoń 10 years ago
parent
commit
7f3fafe432
1 changed files with 2 additions and 2 deletions
  1. 2 2
      misago/templates/misago/profile/side.html

+ 2 - 2
misago/templates/misago/profile/side.html

@@ -1,8 +1,8 @@
 {% load i18n misago_avatars %}
 
 <div class="user-avatar">
-  {% if authenticateds_profile %}
-  <a href="{% url 'misago:usercp_change_avatar' %}" class="tooltip-top" title="{% trans "Change your avatar" %}">
+  {% if is_authenticated_user %}
+  <a href="{% url 'misago:usercp_change_avatar' %}" class="tooltip-top" title="{% trans "Go to avatar options" %}">
     <img src="{{ profile|avatar:400 }}" class="img-rounded img-responsive" alt="{% trans "Avatar" %}">
   </a>
   {% else %}