@@ -120,23 +120,42 @@ <h1 class="display-5">{{ page.title }}</h1>
120120 </ a >
121121 {% endif %}
122122 < p class ="text-center ">
123- < b >
124- Registration Closes: {{ details.registration.close_date | date: "%B %-d, %Y " }}
125- </ b >
123+ < i >
124+ Registration Closes: {{ details.registration.close_date | date: "%B %-d" }}
125+ </ i >
126126 </ p >
127127 </ div >
128128
129129 {% if details.scholarship != null %}
130130 {% include heading_block.html title="Scholarships" icon="bi-award" %}
131+
132+ {% if details.scholarship.form == null %}
133+ {% assign scholarship_closed = true %}
134+ {% assign scholarship_btn_text = "Applications Closed" %}
135+ {% assign scholarship_disabled = "disabled" %}
136+ {% else %}
137+ {% assign scholarship_closed = false %}
138+ {% assign scholarship_btn_text = "Apply Now" %}
139+ {% assign scholarship_disabled = "" %}
140+ {% endif %}
141+
131142 < p >
132143 The Denver Suspension Collective is committed to keeping education accessible and available
133144 and we understand that events can be cost prohibitive for many practitioners.
134145 We are offering scholarships for eligible attendees.
135146 </ p >
136147 < div class ="d-grid gap-2 col-8 mx-auto my-2 ">
137- < a href ="{% link {{ details.scholarship.page }} %} " class ="btn btn-outline-primary btn-lg " role ="button ">
138- Apply Here
148+ < a href ="{% link {{ details.scholarship.page }} %} "
149+ class ="btn btn-outline-primary btn-lg {{ scholarship_disabled }} "
150+ aria-disabled ="{{ scholarship_closed }} "
151+ role ="button ">
152+ {{ scholarship_btn_text }}
139153 </ a >
154+ < p class ="text-center ">
155+ < i >
156+ Applications Close: {{ details.scholarship.deadline | date: "%B %-d" }}
157+ </ i >
158+ </ p >
140159 </ div >
141160 {% endif %}
142161
0 commit comments