fedora_elections/templates/about.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 7954b66939dd757bb3f493411cdc289f60cfd395
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Wed Jul 23 17:54:38 2014 +0200
Fix link to the results page from the about page
diff --git a/fedora_elections/templates/about.html
b/fedora_elections/templates/about.html
index 7a604bb..e2008ff 100644
--- a/fedora_elections/templates/about.html
+++ b/fedora_elections/templates/about.html
@@ -7,7 +7,8 @@
<p><a href="{{ election.url }}">[More
Information]</a></p>
{% endif %}
{% if election.status == 'Ended' %}
- <a href="/results/{{ election.alias }}">Show Results!</a>
+ <a href="{{ url_for('election_results',
+ election_alias=election.alias) }}">Show Results!</a>
{% endif %}
<table border="1" cellpadding="1">
{% for candidate in election.candidates %}
Show replies by date