Skip to content

Commit

Permalink
closed registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopo-massa committed May 27, 2024
1 parent b96d7f6 commit 547d1cc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 4 additions & 1 deletion _data/news.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
- date: 2024-05-27
text: <b>Registration site closed</b>
visible: True
- date: 2024-04-16
text: <b>Registration site opened</b>
text: Registration site opened
visible: True
- date: 2024-03-06
text: 'Call for Nomination: "HPDC 2024 Achievement Award" has been published'
Expand Down
1 change: 1 addition & 0 deletions _data/registration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
about: Please click on the button at the bottom of the page to register for the conference.
closed: True

visa: |
It will be possible to request the VISA Support letter during the registration process,
Expand Down
13 changes: 11 additions & 2 deletions registration.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
<div class="col text-justify conference">
<div>
<h4>Registration</h4>
{% if site.data.registration.closed %}
<div class="alert alert-danger rounded text-center mx-3 my-3">
<b class="h5">Registrations are closed.</b>
</div>
{% else %}
{% if site.data.registration.about %}
<p>
{{site.data.registration.about}}
</p>
{% endif %}
{% if site.data.registration.url %}

{% endif %}

<h4>What's included</h4>
Expand Down Expand Up @@ -119,13 +122,19 @@ <h4>Contact</h4>
</p>
<br>
<h4>Registration site</h4>
{% if site.data.registration.closed %}
<div class="alert alert-danger rounded text-center mx-3 my-5">
<b class="h5">Registrations are closed.</b>
</div>
{% else %}
Please click the button below to start the registration process:
<p>
<center>
<button name="button" class="btn btn-success btn-lg shadowedbutton"
onclick="parent.open('{{site.data.registration.url}}')">HPDC Registration Site</button>
</center>
</p>
{% endif %}
</div>
</div>
</div>

0 comments on commit 547d1cc

Please sign in to comment.