Changeset 248:05a0b16d3673


Ignore:
Timestamp:
23.02.2010 16:35:44 (2 years ago)
Author:
slav0nic <slav0nic0@…>
Branch:
default
Message:

user can see its reputation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • djangobb/djangobb_forum/templates/forum/topic.html

    r247 r248  
    5555                                                {% endif %} 
    5656                                                {% if forum_settings.REPUTATION_SUPPORT %} 
    57                                                                 <dd><a href="{% url djangobb:reputation post.user %}">{% trans "Reputation" %}</a> 
    58                                                         {% ifnotequal request.user post.user %} {# TODO: and user.is_authenticated #} 
    59                                                                 : <a href="{% url djangobb:reputation post.user %}?action=plus&post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_add.gif" alt="+" border="0"></a>&nbsp;&nbsp;<strong>{{ post.user.forum_profile.reply_total }}&nbsp;&nbsp;</strong><a href="{% url djangobb:reputation post.user %}?action=minus&post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_minus.gif" alt="-" border="0"></a></dd> 
    60                                                         {% endifnotequal %} 
     57                                                                <dd><a href="{% url djangobb:reputation post.user %}">{% trans "Reputation" %}</a>:  
     58                                                                {% ifnotequal request.user post.user %} {# TODO: and user.is_authenticated #} 
     59                                                                        <a href="{% url djangobb:reputation post.user %}?action=plus&post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_add.gif" alt="+" border="0"></a>&nbsp;&nbsp;<strong>{{ post.user.forum_profile.reply_total }}&nbsp;&nbsp;</strong><a href="{% url djangobb:reputation post.user %}?action=minus&post_id={{ post.id }}"><img src="{{ MEDIA_URL }}forum/img/reputation/warn_minus.gif" alt="-" border="0"></a> 
     60                                                                {% else %} 
     61                                                                        <strong>{{ post.user.forum_profile.reply_total }}</strong> 
     62                                                                {% endifnotequal %} 
     63                                                                </dd> 
    6164                                                {% endif %} 
    6265                                                <dd class="usercontacts"><a href="{% url djangobb:forum_profile post.user %}">{% trans "Profile" %}</a>&nbsp;&nbsp; 
Note: See TracChangeset for help on using the changeset viewer.