Skip to content
Snippets Groups Projects
Unverified Commit 79b19da6 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #2010 from OpenTechFund/enhancement/show-deadline-on-application-page

Show deadline on application page
parents 51be4d1e 741d76dc
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,12 @@ ...@@ -21,6 +21,12 @@
{% endif %} {% endif %}
<div class="wrapper wrapper--medium wrapper--light-grey-bg wrapper--form"> <div class="wrapper wrapper--medium wrapper--light-grey-bg wrapper--form">
{% if page.end_date %}
<p class="listing__deadline">
<svg class="icon icon--calendar icon--small"><use xlink:href="#calendar"></use></svg>
<span>Next deadline: {{ page.end_date }}</span>
</p>
{% endif %}
{% if not page.open_round and not page.start_date and not request.is_preview %} {% if not page.open_round and not page.start_date and not request.is_preview %}
{# the page has no open rounds and we arent on a round page #} {# the page has no open rounds and we arent on a round page #}
<h3>{% blocktrans %}Sorry this {{ page|verbose_name }} is not accepting applications at the moment{% endblocktrans %}</h3> <h3>{% blocktrans %}Sorry this {{ page|verbose_name }} is not accepting applications at the moment{% endblocktrans %}</h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment