Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Meg
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Feb 11, 2012
1 parent 1a3efa8 commit 4e1869d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/pitch/models.py
Expand Up @@ -73,7 +73,7 @@ class Comment(models.Model):

VOTE_CHOICES = (
(1, 'ROCKS!'),
(0, "No vote"),
(0, "Meh"),
(-1, "SUCKS!"),
)
comment = models.TextField(null=True, blank=True)
Expand Down
3 changes: 2 additions & 1 deletion project/templates/pitch/pitch_detail.html
Expand Up @@ -29,7 +29,8 @@ <h3>Comments</h3>
<div class="vote-result span1">
{% if comment.vote == 1 %}
<img src="{{ STATIC_URL }}img/pro-60x60.png" />
{% else %}
{% endif %}
{% if comment.vote == -1 %}
<img src="{{ STATIC_URL }}img/con-60x60.png" />
{% endif %}
</div>
Expand Down

0 comments on commit 4e1869d

Please sign in to comment.