From bf4d0693c64172a1175fb736b6e8d61809d29d56 Mon Sep 17 00:00:00 2001
From: Skia
Date: Mon, 26 Dec 2016 00:10:41 +0100
Subject: [PATCH] Reformat templates to fit with the rest of the Sith
---
.../templates/election/candidate_form.jinja | 9 +++---
.../templates/election/election_detail.jinja | 32 ++++++++++---------
.../templates/election/election_list.jinja | 23 +++++++------
3 files changed, 36 insertions(+), 28 deletions(-)
diff --git a/election/templates/election/candidate_form.jinja b/election/templates/election/candidate_form.jinja
index ccb6fa91..ad889b27 100644
--- a/election/templates/election/candidate_form.jinja
+++ b/election/templates/election/candidate_form.jinja
@@ -7,12 +7,13 @@
{% block content %}
{%- if election.can_candidate(user) or user.can_edit(election) %}
{%- else -%}
{% trans %}Candidature are closed for this election{% endtrans %}
{%- endif %}
-{% endblock content %}
\ No newline at end of file
+{% endblock content %}
diff --git a/election/templates/election/election_detail.jinja b/election/templates/election/election_detail.jinja
index 60a3bf23..dea749ff 100644
--- a/election/templates/election/election_detail.jinja
+++ b/election/templates/election/election_detail.jinja
@@ -1,7 +1,7 @@
{% extends "core/base.jinja" %}
{% block title %}
-{{object.title}}
+{{ object.title }}
{% endblock %}
{% block head %}
@@ -239,10 +239,12 @@ th {
{% trans %}Polls closed {% endtrans %}
{%- else %}
{% trans %}Polls will open {% endtrans %}
- {% trans %} at {% endtrans %}
+
+ {% trans %} at {% endtrans %}
{% trans %}and will close {% endtrans %}
{%- endif %}
- {% trans %} at {% endtrans %}
+
+ {% trans %} at {% endtrans %}
{%- if election.has_voted(user) %}
@@ -255,7 +257,7 @@ th {
{%- endif %}