django-committees / committees / templates / committees / list.html

{% extends "base.html" %}

{% block title %}Committees{% endblock %}

{% block content %}
    <h1>Committees{% if perms.academy.change_committee %} <a class='edit' href='{% url admin:academy_committee_changelist %}'>(Edit)</a>{% endif %}</h1>
    {% regroup committees by type as type_list %}
    <ul id='committees'>
    {% for type in type_list %}
        <li><h2>{{ type.grouper }}</h2></li>
        <ul>
            {% for committee in type.list %}
            <li>
                <a title='{{ committee.name }}' href='{% url view_committee committee.slug %}'>{{ committee }}</a>
            </li>
            {% endfor %}
        </ul>
    {% endfor %}
    </ul>
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.