1 {% extends "user.html" %}
2 <!-- user_votes.html -->
4 {% load extra_filters %}
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.vote 1 %}
15 <img src="{% media "/media/images/vote-arrow-up-on.png" %}" title="{% trans "upvote" %}">
17 <img src="{% media "/media/images/vote-arrow-down-on.png" %}" title="{% trans "downvote" %}">
20 <div style="float:left;overflow:hidden;width:750px">
21 {% ifequal vote.answer_id 0 %}
22 <span class="question-title-link"><a href="{{ vote.get_absolute_url }}">{{ vote.title }}</a></span>
24 <span class="answer-title-link" ><a href="{{ vote.get_absolute_url }}#{{ vote.answer_id }}">{{ vote.title }}</a></span>
26 <div style="height:5px"></div>
32 <!-- end user_votes.html -->