Permalink
Browse files

finalists no longer precluded by voting

  • Loading branch information...
1 parent 3baccea commit 1e3c8abe72907f2ec7cdef268166652b5dfff14d @potch potch committed Jan 27, 2011
Showing with 14 additions and 4 deletions.
  1. +8 −1 apps/games/templates/games/finalists.html
  2. +6 −3 apps/games/templates/games/list.html
@@ -1,7 +1,14 @@
{% extends "games/base.html" %}
{% block content %}
- <h3><a href="{% url games.view_list %}">See all the entries &raquo;</a></h3>
+<h3>
+ {% if settings.FINALIST_LIST %}
+ <a href="{% url games.view_list %}">See all the entries &raquo;</a><br/>
+ {% endif %}
+ {% if settings.ALLOW_VOTING %}
+ <a href="{% url vote.ballot %}">Vote on the Community Prize &raquo;</a>
+ {% endif %}
+</h3>
<h1>Finalists</h1>
<article class="tile-list">
{% for game in games %}
@@ -1,11 +1,14 @@
{% extends "games/base.html" %}
{% block content %}
+<h3>
+ {% if settings.FINALIST_LIST %}
+ <a href="{% url games.finalists %}">See the finalists &raquo;</a><br/>
+ {% endif %}
{% if settings.ALLOW_VOTING %}
- <h3><a href="{% url vote.ballot %}">Vote on the Community Prize &raquo;</a></h3>
- {% else %}
- <h3><a href="{% url games.finalists %}">See the finalists &raquo;</a></h3>
+ <a href="{% url vote.ballot %}">Vote on the Community Prize &raquo;</a>
{% endif %}
+</h3>
<h1>Game Gallery</h1>
<article class="tile-list">
{% for game in games %}

0 comments on commit 1e3c8ab

Please sign in to comment.