Commit 85261931 authored by Tom van Bussel's avatar Tom van Bussel
Browse files

Merge branch '510-none-value-for-cohort-and-study-programme-fields' into 'master'

Added a check for starting_year and programme_display

Closes #510

See merge request !632
parents 7d1e412a c88efa82
......@@ -35,9 +35,14 @@
<h4>{% trans "Personal information" %}</h4>
<ul class="post-meta">
<li><span>{% trans "Membership type" %}: </span> {{ membership_type }}<br></li>
{% if member.profile.starting_year %}
<li><span>{% trans "Cohort" %}: </span> {{ member.profile.starting_year }}<br></li>
{% endif %}
{% if member.profile.programme %}
<li><span>{% trans "Study programme" %}: </span> {{ member.profile.get_programme_display }}<br></li>
{% endif %}
{% if member.profile.website %}
<li><span>{% trans "Website" %}: </span> <a rel="nofollow,noopener" href="{{ member.profile.website }}">{{ member.profile.website }}</a></li>
......
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