We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd8f55 commit 511e500Copy full SHA for 511e500
1 file changed
ietf/templates/person/profile.html
@@ -8,10 +8,16 @@
8
{% block content %}
9
10
{% origin %}
11
- <h1>{{ person }}</h1>
+ <h1>{{ person.name }}</h1>
12
13
<div class="bio-text">
14
- <img class="bio-photo" src="{{ person.photo.url }}" alt="Photo of {{ person }}" />
+ {% if person.photo %}
15
+ <a href="{{person.photo.url}}">
16
+ <img class="bio-photo" src="{{ person.photo.url }}" alt="Photo of {{ person }}" />
17
+ </a>
18
+ {% else %}
19
+ <img class="bio-photo" src="{{ MEDIA_URL }}photos/nopictureavailable.jpg" alt="No photo available"/>
20
+ {% endif %}
21
{{ person.biography | apply_markup:"restructuredtext" }}
22
</div>
23
0 commit comments