forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroup_photos.html
More file actions
23 lines (23 loc) · 1.08 KB
/
group_photos.html
File metadata and controls
23 lines (23 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "group/group_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static %}
{% block title %}{{ group }} ({{ group.acronym }}) photos{% endblock %}
{% block group_content %}
{% origin %}
{% load ietf_filters %}
<h2 class="my-3">{{ group }} ({{ group.acronym }}) photos</h2>
{% regroup roles by name as role_groups %}
{% for role_name in role_groups %}
<div class="row" id="{{ role_name.grouper|urlencode }}">
<h3 class="mt-4">{{ role_name.grouper }}{{ role_name.list|pluralize }}</h3>
{% regroup role_name.list by person as person_groups %}
<div class="mt-0 row row-cols-1 row-cols-sm-2 row-cols-md-2 row-cols-lg-2 row-cols-xl-3 row-cols-xxl-3 g-3">
{% for person_with_groups in person_groups %}
<div class="col">
{% include "person/photo.html" with person=person_with_groups.grouper groups=person_with_groups.list %}
</div>
{% endfor %}
</div>
</div>
{% endfor %}
{% endblock %}