Skip to content
Snippets Groups Projects
Commit 9fca772e authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add CTA for appluing and update page tempalte

parent 5adf39a0
No related branches found
No related tags found
No related merge requests found
{% extends "standardpages/information_page.html" %}
{% extends "base.html" %}
{% load wagtailcore_tags wagtailimages_tags navigation_tags static %}
{% block content %}
{% include "publicpages/includes/fund_apply_cta.html" with fund_type=page.fund_type.specific %}
<div class="wrapper wrapper--flex">
<section class="section section--main">
<h1>{{ page.title }}</h1>
<h5>{{ page.introduction }}</h5>
{% include_block page.body %}
</section>
</div>
{% include "publicpages/includes/fund_apply_cta.html" with fund_type=page.fund_type.specific %}
{% include "includes/relatedcontent.html" with related_pages=page.related_pages.all %}
{% endblock %}
{% load wagtailcore_tags i18n %}
<div class="wrapper wrapper--flex">
<div class="section section--apply-cta">
{% if fund_type.deadline %}
<div class="deadline">
{% trans "Next deadline" %}: {{ fund_type.deadline|date:"M j, Y" }}
</div>
<div class="apply-link">
<a class="button" href="{% pageurl fund_type %}">{% trans "Apply for this fund" %}</a>
</div>
{% else %}
<div class="deadline">
{% trans "CLOSED" %}
</div>
{% endif %}
</div>
</div>
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