in order to autogenerate dotted path url pattern names. Updated a number of url reverses to use dotted path, and removed explicit url pattern names as needed. Changed some imports to prevent import of ietf.urls before django initialization was complete. Changed 3 cases of form classes being curried to functions; django 1.10 didn't accept that. Started converting old-style middleware classes to new-style middleware functions (incomplete). Tweaked a nomcom decorator to preserve function names and attributes, like a good decorator should. Replaced the removed django templatetag 'removetags' with our own version which uses bleach, and does sanitizing in addition to removing explicitly mentionied html tags. Rewrote the filename argument handling in a management command which had broken with the upgrade. - Legacy-Id: 12818
50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin staticfiles %}
|
|
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
|
|
{% endblock %}
|
|
|
|
{% block title %}BOFs{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
{% load ietf_filters %}
|
|
|
|
<h1>Birds-of-a-feather (BOF) groups</h1>
|
|
|
|
<p>Groups in the <i>BOF</i> state.</p>
|
|
|
|
{% if user|has_role:"Area Director,Secretariat" %}
|
|
<p><a class="btn btn-default" role="button" href="{% url 'ietf.group.views_edit.edit' group_type='wg' action='create' %}">Create new BOF</a></p>
|
|
{% endif %}
|
|
|
|
{% if not groups %}
|
|
<p>No BOFs found.</p>
|
|
{% else %}
|
|
<table class="table table-condensed table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th>BOF</th>
|
|
<th>Name</th>
|
|
<th>Date</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for g in groups %}
|
|
<tr>
|
|
<td><a href="{{ g.about_url }}">{{ g.acronym }}</a></td>
|
|
<td>{{ g.name }}</td>
|
|
<td class="text-nowrap">{{ g.time|date:"Y-m-d" }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
|
|
{% endblock %} |