Skip to content
Snippets Groups Projects
Unverified Commit c503bbd6 authored by Chris Lawton's avatar Chris Lawton Committed by GitHub
Browse files

Merge pull request #118 from OpenTechFund/feature/68-add-fund-deadline

adding fund deadline if there is one in the related content template
parents 842ceabb 253cbb5f
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,13 @@
{% if related.page.live %}
{% with specific_related_page=related.page.specific %}
<a class="card" href="{% pageurl specific_related_page %}">
{% if specific_related_page.deadline %}
<h6 class="card__subheading">
<svg class="icon icon--calendar apply-bar__icon"><use xlink:href="#calendar"></use></svg>
Next deadline:
<span>{{ specific_related_page.deadline|date:"M j, Y" }}</span>
</h6>
{% endif %}
{% if specific_related_page.listing_image %}
{% image specific_related_page.listing_image fill-450x300 %}
{% endif %}
......
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