diff options
author | Sashi20 | 2019-10-15 17:30:33 +0530 |
---|---|---|
committer | GitHub | 2019-10-15 17:30:33 +0530 |
commit | ebbe829258355b0caea692d111f39a98189a5bd7 (patch) | |
tree | 07832746f3d1f2071f718f91c5fd5cba723b317b | |
parent | 9c9345bea9724bce83a13c85d32cb92b4f1f5ff6 (diff) | |
parent | b5ee27c8714bd866b8843118f0885910df05bbf8 (diff) | |
download | SciPy2019-ebbe829258355b0caea692d111f39a98189a5bd7.tar.gz SciPy2019-ebbe829258355b0caea692d111f39a98189a5bd7.tar.bz2 SciPy2019-ebbe829258355b0caea692d111f39a98189a5bd7.zip |
Merge pull request #25 from Sashi20/development
Add message about closed registration type
-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"> |