Commit 8f875bfd authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'fix/552' into 'master'

Only show cohort when cohort is not None

Closes #552

See merge request !784
parents 6a6a1614 5ffa1ba4
......@@ -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 class="post-body avatar-subtitle">
Markdown is supported
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