Skip to content
Snippets Groups Projects
Commit d6a328d0 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-4818: check if all pieces of education exist, to avoid double commas like in 'dberry'

parent 80504165
No related branches found
No related tags found
2 merge requests!63Tag 3.0.1,!58Feature/istwcms 4818 ibiki ofis module
......@@ -43,8 +43,20 @@
<h2>Education</h2>
<ul>
{% for degree in ofis_data.education %}
<li>{{ degree.degree_yr }}, {{ degree.degree_name }}, {{ degree.name_of_discipline }}
, {{ degree.institution }}</li>
<li>
{% if degree.degree_yr %}
{{ degree.degree_yr }},
{% endif %}
{% if degree.degree_name %}
{{ degree.degree_name }},
{% endif %}
{% if degree.name_of_discipline %}
{{ degree.name_of_discipline }},
{% endif %}
{% if degree.institution %}
{{ degree.institution }}
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment