summaryrefslogtreecommitdiffstats
path: root/templates/user_stats.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user_stats.html')
-rw-r--r--templates/user_stats.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/user_stats.html b/templates/user_stats.html
index bc49222f..b9c33e9f 100644
--- a/templates/user_stats.html
+++ b/templates/user_stats.html
@@ -22,12 +22,8 @@
</span>
</a>
<div class="answer-link">
- <a href="{% url question answered_question.id %}{{answered_question.title|slugify}}#{{answered_question.answer_id}}">{{answered_question.title}}</a>
- {% if answered_question.comment_count %}
- <span>
- {% blocktrans with answered_question.comment_count as comment_count %}the answer has been commented {{ comment_count }} times{% endblocktrans %}
- </span>
- {% endif %}
+ <a href="/questions/{{answered_question.id}}/{{answered_question.title}}#{{answered_question.answer_id}}">{{answered_question.title}}</a> {% if answered_question.comment_count %}<span
+ title="{% blocktrans with answered_question.comment_count as count %}the answer has been commented {{count}} times{% endblocktrans %}">({{answered_question.comment_count}})</span>{% endif %}
</div>
</div>
{% endfor %}