You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made various changes to session request form, mostly removal of fields, to support virtual session requests. Also added settings.SECR_VIRTUAL_MEETINGS list.
Copy file name to clipboardExpand all lines: ietf/secr/templates/includes/sessions_request_form.html
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,15 @@
8
8
<trclass="bg1"><td>Number of Sessions:<spanclass="required">*</span></td><td>{{ form.num_session.errors }}{{ form.num_session }}</td></tr>
9
9
<trclass="bg2"><td>Length of Session 1:<spanclass="required">*</span></td><td>{{ form.length_session1.errors }}{{ form.length_session1 }}</td></tr>
10
10
<trclass="bg2"><td>Length of Session 2:<spanclass="required">*</span></td><td>{{ form.length_session2.errors }}{{ form.length_session2 }}</td></tr>
11
-
<trclass="bg2"><td>Time between two sessions:</td><td>{{ form.session_time_relation.errors }}{{ form.session_time_relation }}</td></tr>
11
+
{% if not is_virtual %}
12
+
<trclass="bg2"><td>Time between two sessions:</td><td>{{ form.session_time_relation.errors }}{{ form.session_time_relation }}</td></tr>
13
+
{% endif %}
12
14
{% if group.type.slug == "wg" %}
13
15
<trclass="bg2"><td>Additional Session Request:</td><td>{{ form.third_session }} Check this box to request an additional session.<br>
14
16
Additional slot may be available after agenda scheduling has closed and with the approval of an Area Director.<br>
15
17
Length of Third Session: {{ form.length_session3.errors }}{{ form.length_session3 }}</td></tr>
16
18
{% endif %}
17
-
<trclass="bg1"><td>Number of Attendees:<spanclass="required">*</span></td><td>{{ form.attendees.errors }}{{ form.attendees }}</td></tr>
19
+
<trclass="bg1"><td>Number of Attendees:{% if not is_virtual %}<spanclass="required">*</span>{% endif %}</td><td>{{ form.attendees.errors }}{{ form.attendees }}</td></tr>
18
20
<trclass="bg2"><td>People who must be present:</td><td>{{ form.bethere.errors }}{{ form.bethere }}</td></tr>
Copy file name to clipboardExpand all lines: ietf/secr/templates/includes/sessions_request_view.html
+25-19Lines changed: 25 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@
7
7
<trclass="row2"><td>Length of Session 1:</td><td>{{ session.length_session1|display_duration }}</td></tr>
8
8
{% if session.length_session2 %}
9
9
<trclass="row2"><td>Length of Session 2:</td><td>{{ session.length_session2|display_duration }}</td></tr>
10
-
<trclass="row2"><td>Time between sessions:</td><td>{% if session.session_time_relation_display %}{{ session.session_time_relation_display }}{% else %}No preference{% endif %}</td></tr>
10
+
{% if not is_virtual %}
11
+
<trclass="row2"><td>Time between sessions:</td><td>{% if session.session_time_relation_display %}{{ session.session_time_relation_display }}{% else %}No preference{% endif %}</td></tr>
12
+
{% endif %}
11
13
{% endif %}
12
14
{% if session.length_session3 %}
13
15
<trclass="row2"><td>Length of Session 3:</td><td>{{ session.length_session3|display_duration }}</td></tr>
@@ -27,30 +29,34 @@
27
29
<td>Other WGs that included {{ group }} in their conflict list:</td>
28
30
<td>{% if session_conflicts %}{{ session_conflicts }}{% else %}<i>None so far</i>{% endif %}</td>
29
31
</tr>
30
-
<trclass="row2">
31
-
<td>Resources requested:</td>
32
-
<td>{% if session.resources %}<ul>{% for resource in session.resources %}<li>{{ resource.desc }}</li>{% endfor %}</ul>{% else %}<i>None so far</i>{% endif %}</td>
33
-
</tr>
32
+
{% if not is_virtual %}
33
+
<trclass="row2">
34
+
<td>Resources requested:</td>
35
+
<td>{% if session.resources %}<ul>{% for resource in session.resources %}<li>{{ resource.desc }}</li>{% endfor %}</ul>{% else %}<i>None so far</i>{% endif %}</td>
36
+
</tr>
37
+
{% endif %}
34
38
<trclass="row1">
35
39
<td>People who must be present:</td>
36
40
<td>{% if session.bethere %}<ul>{% for person in session.bethere %}<li>{{ person }}</li>{% endfor %}</ul>{% else %}<i>None</i>{% endif %}</td>
0 commit comments