Skip to content
Snippets Groups Projects
Commit 741d76dc authored by Vaibhav Mule's avatar Vaibhav Mule Committed by Fredrik Jonsson
Browse files

add deadline to application page

parent ccbc4689
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