Skip to content

Commit 263e1f4

Browse files
committed
Changed the IESG photo page to show full area name instead of area acronym in each box heading. Linked the area name to the area page. Removed the area acronym under each picture. Tweaked the vertical alignment of photo wells. Fixes an issue raised by housley@vigilsec.com
- Legacy-Id: 11390
1 parent e110419 commit 263e1f4

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

ietf/static/ietf/css/ietf.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,14 @@ label#list-feeds {
464464
height: 3em;
465465
}
466466

467+
ul.list-inline li {
468+
vertical-align: bottom;
469+
}
470+
467471
.bio-text {
468472
max-width: 85ex;
469473
}
474+
470475
.bio-photo {
471476
float: left;
472477
margin: 0.3em 1em 0.5em 0.1em;

ietf/templates/iesg/photos.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ <h1>{{ group_type | upper }} {{ role }} Photos</h1>
3030
{% for letter in alphabet_blocks %}
3131
<div class="row anchor-target" id="{{letter.grouper}}">
3232
<div class="panel panel-default">
33-
<div class="panel-heading">{{letter.grouper}}</div>
33+
<div class="panel-heading">
34+
<a href="{% url 'ietf.group.views.group_home' acronym=letter.grouper %}">
35+
{{letter.list.0.group.name}}
36+
</a>
37+
</div>
3438
<div class="panel-body">
3539
<ul class="list-inline">
3640
{% regroup letter.list by person as person_groups %}
@@ -45,14 +49,9 @@ <h1>{{ group_type | upper }} {{ role }} Photos</h1>
4549
<img width=100 src="{{ MEDIA_URL }}photo/nopictureavailable.jpg" alt="No photo available"/>
4650
{% endif %}
4751
</div>
48-
<div class="photo-name">
52+
<div class="photo-name" style="height: 60px;">
4953
<strong>{{person_with_groups.grouper.plain_name}}</strong>
5054
</div>
51-
<div class="photo-role-list">
52-
{% for role in person_with_groups.list %}
53-
<a href="{% url 'ietf.group.views.group_home' acronym=role.group.acronym %}">{{role.group.acronym}}</a>
54-
{% endfor %}
55-
</div>
5655
</div>
5756
{% if person_with_groups.grouper.photo %}</a>{% endif %}
5857
</li>

0 commit comments

Comments
 (0)