From 741d76dc86ab5d8fb7616c61d0b2125708285b2d Mon Sep 17 00:00:00 2001 From: Vaibhav Mule <vaibhavmule135@gmail.com> Date: Mon, 25 May 2020 13:37:34 +0530 Subject: [PATCH] add deadline to application page --- hypha/apply/funds/templates/funds/application_base.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hypha/apply/funds/templates/funds/application_base.html b/hypha/apply/funds/templates/funds/application_base.html index 924115ac4..867390486 100644 --- a/hypha/apply/funds/templates/funds/application_base.html +++ b/hypha/apply/funds/templates/funds/application_base.html @@ -21,6 +21,12 @@ {% endif %} <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 %} {# 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> -- GitLab