Skip to content

Commit d50adc0

Browse files
committed
Whitespace only changes. Commit ready for merge.
- Legacy-Id: 16150
1 parent 1c04745 commit d50adc0

1 file changed

Lines changed: 41 additions & 44 deletions

File tree

ietf/templates/meeting/session_agenda_include.html

Lines changed: 41 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,45 @@
33
{% load staticfiles %}
44
{% load textfilters %}
55
{% load ietf_filters %}
6+
<div class="modal fade" id="modal-{{ item.slug }}" tabindex="-1" role="dialog" aria-labelledby="label-{{ item.slug }}" aria-hidden="true">
7+
<div class="modal-dialog modal-lg">
8+
<div class="modal-content">
9+
<div class="modal-header">
10+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
11+
<h4 class="modal-title" id="label-{{item.slug}}">
12+
Meeting materials for
13+
{% if item.timeslot.type.slug == 'plenary' %}{{item.timeslot.name}}{% else %}{{item.session.historic_group.name}}{% endif %}
14+
</h4>
15+
</div>
16+
<div class="modal-body">
17+
{% with item.session.agenda as agenda %}
18+
{% if agenda %}
19+
{% if agenda.file_extension == "txt" or agenda.file_extension == "html" or agenda.file_extension == "htm" %}
20+
<h4>Agenda</h4>
21+
<div class="frame" data-src="{{agenda.href}}"></div>
22+
{% else %}
23+
<span class="label label-info">Agenda submitted as {{agenda.file_extension|upper}}</span>
24+
{% endif %}
25+
{% else %}
26+
<span class="label label-warning">No agenda submitted</span>
27+
{% endif %}
28+
{% endwith %}
629

7-
8-
<div class="modal fade" id="modal-{{ item.slug }}" tabindex="-1" role="dialog" aria-labelledby="label-{{ item.slug }}" aria-hidden="true">
9-
<div class="modal-dialog modal-lg">
10-
<div class="modal-content">
11-
<div class="modal-header">
12-
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
13-
<h4 class="modal-title" id="label-{{item.slug}}">
14-
Meeting materials for
15-
{% if item.timeslot.type.slug == 'plenary' %}{{item.timeslot.name}}{% else %}{{item.session.historic_group.name}}{% endif %}
16-
17-
</h4>
18-
</div>
19-
<div class="modal-body">
20-
{% with item.session.agenda as agenda %}
21-
{% if agenda %}
22-
{% if agenda.file_extension == "txt" or agenda.file_extension == "html" or agenda.file_extension == "htm" %}
23-
<h4>Agenda</h4>
24-
<div class="frame" data-src="{{agenda.href}}"></div>
25-
{% else %}
26-
<span class="label label-info">Agenda submitted as {{agenda.file_extension|upper}}</span>
27-
{% endif %}
28-
{% else %}
29-
<span class="label label-warning">No agenda submitted</span>
30-
{% endif %}
31-
{% endwith %}
32-
33-
{% if item.session.slides %}
34-
<h4>Slides</h4>
35-
<ul class="fa-ul list-unstyled">
36-
{% for slide in item.session.slides %}
37-
<li>
38-
<span class="fa-li fa fa-file-{{slide.file_extension|lower}}-o"></span>
39-
<a href="{{ slide.href }}">{{ slide.title|clean_whitespace }}</a>
40-
</li>
41-
{% endfor %}
42-
</ul>
43-
{% endif %}
44-
</div>
45-
<div class="modal-footer">
46-
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
47-
</div>
48-
</div>
49-
</div>
50-
</div>
30+
{% if item.session.slides %}
31+
<h4>Slides</h4>
32+
<ul class="fa-ul list-unstyled">
33+
{% for slide in item.session.slides %}
34+
<li>
35+
<span class="fa-li fa fa-file-{{slide.file_extension|lower}}-o"></span>
36+
<a href="{{ slide.href }}">{{ slide.title|clean_whitespace }}</a>
37+
</li>
38+
{% endfor %}
39+
</ul>
40+
{% endif %}
41+
</div>
42+
<div class="modal-footer">
43+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
44+
</div>
45+
</div>
46+
</div>
47+
</div>

0 commit comments

Comments
 (0)