forked from mozilla/doozer
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Socol
committed
Mar 17, 2011
1 parent
3d50fc3
commit e35b455
Showing
6 changed files
with
36 additions
and
19 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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
{% load waffle_tags %} | ||
{% extends "games/base.html" %} | ||
|
||
{% block content %} | ||
<h3> | ||
{% if settings.FINALIST_LIST %} | ||
<a href="{% url games.view_list %}">See all the entries »</a><br/> | ||
{% endif %} | ||
{% if settings.ALLOW_VOTING %} | ||
{% waffle allow_voting %} | ||
<a href="{% url vote.ballot %}">Vote on the Community Prize »</a> | ||
{% endif %} | ||
{% endwaffle %} | ||
</h3> | ||
<h1>Finalists</h1> | ||
<article class="tile-list"> | ||
{% for game in games %} | ||
{% include "games/game_listing.html" %} | ||
{% endfor %} | ||
</article> | ||
{% endblock %} | ||
{% endblock %} |
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
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,8 @@ | ||
INSERT INTO waffle_flag | ||
(name, everyone, percent, superusers, staff, authenticated, rollout) | ||
VALUES | ||
('allow_submissions', NULL, NULL, 0, 0, 0, 0), | ||
('allow_editing', NULL, NULL, 0, 0, 0, 0), | ||
('allow_deleting', NULL, NULL, 0, 0, 0, 0), | ||
('allow_gallery', NULL, NULL, 0, 0, 0, 0), | ||
('allow_voting', NULL, NULL, 0, 0, 0, 0); |
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