diff options
-rw-r--r-- | static/website/templates/home.html | 12 |
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"> |