Skip to content

Commit 6f0d17f

Browse files
committed
Added a link to the registration page from the meeting 'Important Dates' page.
- Legacy-Id: 16213
1 parent 8e6eb30 commit 6f0d17f

1 file changed

Lines changed: 29 additions & 24 deletions

File tree

ietf/templates/meeting/important-dates.html

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,35 @@ <h2>Important Dates</h2>
1212
{% for meeting in meetings %}
1313
<h3>IETF {{meeting.number}} : {{ meeting.date}}, {{meeting.city}}, {{meeting.country}}</h3>
1414
<ul>
15-
{% for d in meeting.importantdate_set.all %}
16-
<li> <strong>{{d.date}} ({% if d.name.slug == 'openreg' %}Week of{% else %}{{d.date|date:'l'}}{% endif %}):</strong> {{d.name.desc}}.
17-
{% if d.name.slug == 'opensched' %}
18-
To request a Working Group session, use the
19-
<a href="{% url 'ietf.secr.sreq.views.main' %}">IETF Meeting Session Request Tool</a>.
20-
If you are working on a BoF request, it is highly recommended
21-
to tell the IESG now by sending an email to
22-
<a href="mailto:iesg@ietf.org">iesg@ietf.org</a> to get advance help with the request.
23-
{% endif %}
24-
{% if d.name.slug == 'cutoffwgreq' %}
25-
To request a Working Group session, use the
26-
<a href="{% url 'ietf.secr.sreq.views.main' %}">IETF Meeting Session Request Tool</a>.
27-
{% endif %}
28-
{% if d.name.slug == 'cutoffbofreq' %}
29-
To request a BOF, please see instructions on <a href="https://www.ietf.org/how/bofs/bof-procedures/">Requesting a BOF</a>.
30-
{% endif %}
31-
{% if d.name.slug == 'idcutoff' %}
32-
Upload using the <a href="{% url 'ietf.submit.views.upload_submission' %}">ID Submission Tool</a>.
33-
{% endif %}
34-
{% if d.name.slug == 'draftwgagenda' or d.name.slug == 'revwgagenda' or d.name.slug == 'procsub' or d.name.slug == 'revslug' %}
35-
Upload using the <a href="{% url 'ietf.meeting.views.materials' num=meeting.number %}">Meeting Materials Management Tool</a>.
36-
{% endif %}
37-
</li>
38-
{% endfor %}
15+
{% with first=forloop.first %}
16+
{% for d in meeting.importantdate_set.all %}
17+
<li> <strong>{{d.date}} ({% if d.name.slug == 'openreg' %}Week of{% else %}{{d.date|date:'l'}}{% endif %}):</strong> {{d.name.desc}}.
18+
{% if first and d.name.slug == 'openreg' or first and d.name.slug == 'earlybird' %}
19+
<a href="https://www.ietf.org/how/meetings/register/">Register here</a>.
20+
{% endif %}
21+
{% if d.name.slug == 'opensched' %}
22+
To request a Working Group session, use the
23+
<a href="{% url 'ietf.secr.sreq.views.main' %}">IETF Meeting Session Request Tool</a>.
24+
If you are working on a BoF request, it is highly recommended
25+
to tell the IESG now by sending an email to
26+
<a href="mailto:iesg@ietf.org">iesg@ietf.org</a> to get advance help with the request.
27+
{% endif %}
28+
{% if d.name.slug == 'cutoffwgreq' %}
29+
To request a Working Group session, use the
30+
<a href="{% url 'ietf.secr.sreq.views.main' %}">IETF Meeting Session Request Tool</a>.
31+
{% endif %}
32+
{% if d.name.slug == 'cutoffbofreq' %}
33+
To request a BOF, please see instructions on <a href="https://www.ietf.org/how/bofs/bof-procedures/">Requesting a BOF</a>.
34+
{% endif %}
35+
{% if d.name.slug == 'idcutoff' %}
36+
Upload using the <a href="{% url 'ietf.submit.views.upload_submission' %}">ID Submission Tool</a>.
37+
{% endif %}
38+
{% if d.name.slug == 'draftwgagenda' or d.name.slug == 'revwgagenda' or d.name.slug == 'procsub' or d.name.slug == 'revslug' %}
39+
Upload using the <a href="{% url 'ietf.meeting.views.materials' num=meeting.number %}">Meeting Materials Management Tool</a>.
40+
{% endif %}
41+
</li>
42+
{% endfor %}
43+
{% endwith %}
3944
</ul>
4045
{% endfor %}
4146
{% endblock %}

0 commit comments

Comments
 (0)