-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update registration with new context
- Removes unused code - Updates logic for council v registration given change in context - Reformats registration deadline date - Fixes logic for is_before_registration_deadline - Removes the advice about registering by post
- Loading branch information
1 parent
e18c417
commit 6852af8
Showing
6 changed files
with
42 additions
and
52 deletions.
There are no files selected for viewing
36 changes: 19 additions & 17 deletions
36
wcivf/apps/elections/templates/elections/includes/_council_contact_details.html
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,20 @@ | ||
<address class="ds-stack-smallest"> | ||
{{ contact_details.name }} | ||
{% if contact_details.address %} | ||
{{ contact_details.address|linebreaksbr }} | ||
{% endif %} | ||
{% if contact_details.postcode %} | ||
<br>{{ contact_details.postcode }} | ||
<br> | ||
{% endif %} | ||
<p> | ||
<address class="ds-stack-smallest"> | ||
{{ contact_details.name }} | ||
{% if contact_details.address %} | ||
{{ contact_details.address|linebreaksbr }} | ||
{% endif %} | ||
{% if contact_details.postcode %} | ||
<br>{{ contact_details.postcode }} | ||
<br> | ||
{% endif %} | ||
|
||
<a href="{{ contact_details.website }}"> | ||
{{ contact_details.website }} | ||
</a> | ||
<br><a href="mailto:{{ contact_details.email }}">{{ contact_details.email }}</a> | ||
{% for number in contact_details.phone_numbers %} | ||
<br><a href="tel:{{ number }}">{{ number }}</a> | ||
{% endfor %} | ||
</address> | ||
<a href="{{ contact_details.website }}"> | ||
{{ contact_details.website }} | ||
</a> | ||
<br><a href="mailto:{{ contact_details.email }}">{{ contact_details.email }}</a> | ||
{% for number in contact_details.phone_numbers %} | ||
<br><a href="tel:{{ number }}">{{ number }}</a> | ||
{% endfor %} | ||
</address> | ||
</p> |
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
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