Skip to content

Commit

Permalink
Only show member birth year if dead.
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptypjeu committed Oct 22, 2024
1 parent 5d211c6 commit 6ec111d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions teknologr/katalogen/templates/profile_information.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
>
<table class="table table-striped table-borderless">
<tbody>
{% if member.dead %}
<tr>
<th>Födelseår</th>
<td class="text-right">
{{ member.birth_date.year }}
</td>
</tr>
{% endif %}
<tr>
<th>Studietid</th>
<td class="text-right">
Expand Down

0 comments on commit 6ec111d

Please sign in to comment.