-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a view listing a user's votes and a view listing all votes on a c…
…ookie
- Loading branch information
Showing
5 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h4>Votes by {{ object }}</h4> | ||
<table class="table table-condensed cookies color1"> | ||
{% for cookie in cookies %} | ||
<tr class="cookie"> | ||
<td class="name">{{ cookie.name }}</td> | ||
<td class="description">{{ cookie.short_description }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h4>Votes for {{ object }}</h4> | ||
<table class="table table-condensed cookies color1"> | ||
{% for user in users %} | ||
<tr class="cookie"> | ||
<td class="username">{{ user.username }}</td> | ||
<td class="name">{{ user.name }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters