]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/votes.html
Adds optional status diamonds next to the usernames.
[osqa.git] / forum / skins / default / templates / users / votes.html
index 9d187bf221c8e5cedbe1bff6b577f2bf00c50f72..7d6b3483c1b34771cead7aca88df9a50231b91f3 100644 (file)
             <div style="clear:both;line-height:20px" >
                 <div style="width:150px;float:left">{% diff_date vote.voted_at 3 %}</div>
                 <div style="width:30px;float:left">
             <div style="clear:both;line-height:20px" >
                 <div style="width:150px;float:left">{% diff_date vote.voted_at 3 %}</div>
                 <div style="width:30px;float:left">
-                {% ifequal vote.vote 1 %}
+                {% ifequal vote.value 1 %}
                     <img src="{% media  "/media/images/vote-arrow-up-on.png" %}" title="{% trans "upvote" %}">
                 {% else %}
                     <img src="{% media  "/media/images/vote-arrow-down-on.png" %}" title="{% trans "downvote" %}">
                 {% endifequal %}
                 </div>
                 <div style="float:left;overflow:hidden;width:750px">
                     <img src="{% media  "/media/images/vote-arrow-up-on.png" %}" title="{% trans "upvote" %}">
                 {% else %}
                     <img src="{% media  "/media/images/vote-arrow-down-on.png" %}" title="{% trans "downvote" %}">
                 {% endifequal %}
                 </div>
                 <div style="float:left;overflow:hidden;width:750px">
-                    <span class="{{ vote.node.node_type }}-title-link"><a href="{{ vote.node.leaf.get_absolute_url }}">{{ vote.node.leaf.headline }}</a></span>
+                    <span class="{{ vote.node.node_type }}-title-link"><a href="{{ vote.node.get_absolute_url }}">{{ vote.node.headline }}</a></span>
                     <div style="height:5px"></div>
                 </div>          
             </div>
                     <div style="height:5px"></div>
                 </div>          
             </div>