Renamed and generalised the photos template a bit, for re-use with IESG photos.

- Legacy-Id: 11274
This commit is contained in:
Henrik Levkowetz 2016-06-05 09:51:56 +00:00
parent 5f4de2047e
commit fe50693d09
3 changed files with 4 additions and 2 deletions

View file

@ -17,6 +17,7 @@
<h2>Active research groups</h2>
<a class="btn btn-default" href="{% url "ietf.group.views.all_status" %}">Status Reports</a>
<a class="btn btn-default" href="{% url "ietf.group.views.photos" group_type="rg" %}">Chair Photos</a>
<table class="table table-striped table-condensed tablesorter">
<thead>

View file

@ -20,6 +20,7 @@
<a class="btn btn-default" href="{% url "ietf.group.views.concluded_groups" %}">Concluded WGs</a>
<a class="btn btn-default" href="https://www.ietf.org/dyn/wg/charter/history/">Historic charters</a>
<a class="btn btn-default" href="{% url "ietf.group.views.all_status" %}">Status Reports</a>
<a class="btn btn-default" href="{% url "ietf.group.views.photos" group_type="wg" %}">Chair Photos</a>
{% for area in areas %}
<h2 class="anchor-target" id="{{area.acronym}}">{{ area.name }} ({{ area.acronym }})</h2>

View file

@ -14,9 +14,9 @@
{% origin %}
{% load ietf_filters %}
<h1>Chair Photos</h1>
<h1>{{ group_type | upper }} {{ role }} Photos</h1>
{% regroup chair_roles by last_initial as alphabet_blocks %}
{% regroup roles by last_initial as alphabet_blocks %}
<div class="col-md-11">
{% for letter in alphabet_blocks %}
<div class="row anchor-target" id="{{letter.grouper}}">