forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschedule_list.html
More file actions
50 lines (45 loc) · 1.77 KB
/
Copy pathschedule_list.html
File metadata and controls
50 lines (45 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load ietf_filters %}
{% block title %}IETF {{ meeting.number }} Meeting Agenda List{% endblock %}
{% block content %}
{% origin %}
<h1>IETF {{meeting.number}} Agenda List</h1>
{% comment %}
<div>
<p><a href="{% url "ietf.meeting.views.edit_timeslots" meeting.number %}">Edit Timeslots</a></p>
</div>
{% endcomment %}
<div>
{% regroup schedules by is_official as classed_schedules %}
{% for class in classed_schedules %}
<div class="panel panel-default">
<div class="panel-heading">{{class.grouper|yesno:"Official,Unofficial"}} Schedule{{class.list|length|pluralize}}</div>
<div class="panel-body">
<table class="table table-condensed table-striped">
<tr>
<th class="col-md-4">Name</th>
<th class="col-md-4">Owner</th>
<th class="col-md-1">Visible</th>
<th class="col-md-1">Public</th>
<th class="col-md-1"></th>
</tr>
{% for schedule in class.list %}
<tr>
<td><a href="{% url "ietf.meeting.views.edit_schedule" schedule.meeting.number schedule.owner_email schedule.name %}">
{{ schedule.name }}</a></td>
<td>{{ schedule.owner }}</td>
<td>{{ schedule.visible_token }}</td>
<td>{{ schedule.public_token }}</td>
<td><a class="btn btn-default" href="{% url "ietf.meeting.views.edit_schedule_properties" schedule.meeting.number schedule.owner_email schedule.name %}">
EDIT</a></td>
</tr>
{% endfor %}
</table>
</div>
</div>
{% endfor %}
</div>
{% endblock content %}