summaryrefslogtreecommitdiff
path: root/static/website
diff options
context:
space:
mode:
authorSashi202019-10-15 17:08:58 +0530
committerSashi202019-10-15 17:08:58 +0530
commitb5ee27c8714bd866b8843118f0885910df05bbf8 (patch)
tree07832746f3d1f2071f718f91c5fd5cba723b317b /static/website
parente3926a9500038c6d15626efb5f21c4e041f07eaa (diff)
downloadSciPy2019-b5ee27c8714bd866b8843118f0885910df05bbf8.tar.gz
SciPy2019-b5ee27c8714bd866b8843118f0885910df05bbf8.tar.bz2
SciPy2019-b5ee27c8714bd866b8843118f0885910df05bbf8.zip
Add message about closed registration type
Diffstat (limited to 'static/website')
-rw-r--r--static/website/templates/home.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/static/website/templates/home.html b/static/website/templates/home.html
index 1f3a4f4..6b4d45e 100644
--- a/static/website/templates/home.html
+++ b/static/website/templates/home.html
@@ -147,13 +147,19 @@ It provides a unique opportunity to discuss about the latest trends on Scientifi
<td style="border-top:none;!important">
<div class="align-baseline">
{{ registration_detail.registration_type| safe }}<br>
- {% if not registration_detail.start_date %}
+ {% if not registration_detail.start_date and not registration_detail.end_date %}
+ <span style="color: red;">Registrations are closed</span><br>
+ {% elif not registration_detail.start_date %}
(till {{ registration_detail.end_date| date:"d M Y"}})<br>
- {% else %}
+ {% else %}
({{ registration_detail.start_date| date:"d M Y"}} to {{ registration_detail.end_date| date:"d M Y"}})<br>
+
{% endif %}
+
+ {% if registration_detail.registration_ticket %}
{{registration_detail.registration_ticket}}
- </div>
+ {% endif %}
+ </div>
</td>
<td style="border-top:none;!important">
<div class="align-baseline">