Commit c88efa82 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

added a check for starting_year and programme_display

parent 029975ca
......@@ -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