Commit 5ffa1ba4 authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Only show cohort when cohort is not None

parent 6a6a1614
......@@ -64,7 +64,9 @@
<div class="post-overlay">
<div class="post-overlay-meta">
<h2>{{ member.profile.display_name }}</h2>
<p>{% trans "Cohort" %}: {{ member.profile.starting_year }}</p>
{% if member.profile.starting_year %}
<p>{% trans "Cohort" %}: {{ member.profile.starting_year }}</p>
{% endif %}
</div>
</div>
<div class="post-body avatar-subtitle">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment