1. Dan Jacob
  2. newsmeme

Commits

danjac  committed 4d27202

broken image fixes

  • Participants
  • Parent commits 59d3516
  • Branches default

Comments (0)

Files changed (1)

File newsmeme/templates/user/comments.html

View file
 <div>
 {% if comment.can_vote(g.user) %}
 <span id="vote-comment-{{ comment.id }}">
-    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.upvote',  comment_id=comment.id) }}'); return false;"><img src="{{ url_for('.static', filename="images/up-icon.png") }}"></a>
-    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.downvote', comment_id=comment.id) }}'); return false;"><img src="{{ url_for('.static', filename="images/down-icon.png") }}"></a>  
+    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.upvote',  comment_id=comment.id) }}'); return false;"><img src="{{ theme_static("images/up-icon.png") }}"></a>
+    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.downvote', comment_id=comment.id) }}'); return false;"><img src="{{ theme_static("images/down-icon.png") }}"></a>  
 </span>
 {% endif %}
 {{ _('Score') }} <span id="comment-score-{{ comment.id }}">{{ comment.score }}</span> |