]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/users/votes.html
Moves the myopenid logo to a big button, and the aol logo to a small button in the...
[osqa.git] / forum / skins / default / templates / users / votes.html
1 {% extends "user.html" %}
2 <!-- user_votes.html -->
3 {% load extra_tags %}
4 {% load extra_filters %}
5 {% load humanize %}
6 {% load i18n %}
7
8 {% block usercontent %}
9         <div style="padding-top:5px;font-size:13px;">
10         {% for vote in votes %}
11             <div style="clear:both;line-height:20px" >
12                 <div style="width:150px;float:left">{% diff_date vote.voted_at 3 %}</div>
13                 <div style="width:30px;float:left">
14                 {% ifequal vote.value 1 %}
15                     <img src="{% media  "/media/images/vote-arrow-up-on.png" %}" title="{% trans "upvote" %}">
16                 {% else %}
17                     <img src="{% media  "/media/images/vote-arrow-down-on.png" %}" title="{% trans "downvote" %}">
18                 {% endifequal %}
19                 </div>
20                 <div style="float:left;overflow:hidden;width:750px">
21                     <span class="{{ vote.node.node_type }}-title-link"><a href="{{ vote.node.get_absolute_url }}">{{ vote.node.headline }}</a></span>
22                     <div style="height:5px"></div>
23                 </div>          
24             </div>
25         {% endfor %}
26         </div>
27 {% endblock %}
28 <!-- end user_votes.html -->