Skip to content

Commit fe50693

Browse files
committed
Renamed and generalised the photos template a bit, for re-use with IESG photos.
- Legacy-Id: 11274
1 parent 5f4de20 commit fe50693

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

ietf/templates/group/active_rgs.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ <h2>IRTF chair</h2>
1717

1818
<h2>Active research groups</h2>
1919
<a class="btn btn-default" href="{% url "ietf.group.views.all_status" %}">Status Reports</a>
20+
<a class="btn btn-default" href="{% url "ietf.group.views.photos" group_type="rg" %}">Chair Photos</a>
2021

2122
<table class="table table-striped table-condensed tablesorter">
2223
<thead>

ietf/templates/group/active_wgs.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ <h1>Active IETF working groups</h1>
2020
<a class="btn btn-default" href="{% url "ietf.group.views.concluded_groups" %}">Concluded WGs</a>
2121
<a class="btn btn-default" href="https://www.ietf.org/dyn/wg/charter/history/">Historic charters</a>
2222
<a class="btn btn-default" href="{% url "ietf.group.views.all_status" %}">Status Reports</a>
23+
<a class="btn btn-default" href="{% url "ietf.group.views.photos" group_type="wg" %}">Chair Photos</a>
2324

2425
{% for area in areas %}
2526
<h2 class="anchor-target" id="{{area.acronym}}">{{ area.name }} ({{ area.acronym }})</h2>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
{% origin %}
1515
{% load ietf_filters %}
1616

17-
<h1>Chair Photos</h1>
17+
<h1>{{ group_type | upper }} {{ role }} Photos</h1>
1818

19-
{% regroup chair_roles by last_initial as alphabet_blocks %}
19+
{% regroup roles by last_initial as alphabet_blocks %}
2020
<div class="col-md-11">
2121
{% for letter in alphabet_blocks %}
2222
<div class="row anchor-target" id="{{letter.grouper}}">

0 commit comments

Comments
 (0)