File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -459,3 +459,8 @@ label#list-feeds {
459459.email-subscription button [type = submit ] {
460460 margin-left : 3em ;
461461}
462+
463+ .photo-name {
464+ height : 3em ;
465+ }
466+
Original file line number Diff line number Diff line change @@ -27,16 +27,24 @@ <h1>Chair Photos</h1>
2727 {% regroup letter.list by person as person_groups %}
2828 {% for person_with_groups in person_groups %}
2929 < li >
30- < div class ="well ">
30+ < div class ="well photo-thumbnail ">
31+ < div >
3132 {% if person_with_groups.grouper.photo_thumb %}
32- < img width =100px src ="{{person_with_groups.grouper.photo_thumb.url}} "/>
33+ < a href ="{{person_with_groups.grouper.photo.url}} ">
34+ < img width =100px src ="{{person_with_groups.grouper.photo_thumb.url}} "/>
35+ </ a >
36+ {% else %}
37+ < img width =100px src ="{{ MEDIA_URL }}photos/nopictureavailable.jpg "/>
3338 {% endif %}
39+ </ div >
40+ < div class ="photo-name ">
3441 {% if person_with_groups.grouper.photo %}
35- < div > < a href ="{{person_with_groups.grouper.photo.url}} "> < strong > {{person_with_groups.grouper.plain_name}}</ strong > </ a > </ div >
42+ < a href ="{{person_with_groups.grouper.photo.url}} "> < strong > {{person_with_groups.grouper.plain_name}}</ strong > </ a >
3643 {% else %}
37- < div > < strong > {{person_with_groups.grouper.plain_name}}</ strong > </ div >
44+ < strong > {{person_with_groups.grouper.plain_name}}</ strong >
3845 {% endif %}
39- < div >
46+ </ div >
47+ < div class ="photo-role-list ">
4048 {% for role in person_with_groups.list %}
4149 {{role.group.acronym}}
4250 {% endfor %}
You can’t perform that action at this time.
0 commit comments