Commit 38298790 authored by Thom Wiggers's avatar Thom Wiggers 📐

Merge branch 'feature/education-target-blank' into 'master'

Open exams and summaries in new tab/window in the education app for better usability



See merge request !149
parents 16c02481 f74676db
......@@ -31,9 +31,9 @@
{% for item in type.list %}
<li>
{% if item.type == 'exam' %}
<a href="{% url 'education:exam' item.id %}">{{ item.name }}</a>
<a href="{% url 'education:exam' item.id %}" target="_blank">{{ item.name }}</a>
{% else %}
<a href="{% url 'education:summary' item.id %}">{{ item.name }}</a>
<a href="{% url 'education:summary' item.id %}" target="_blank">{{ item.name }}</a>
{% endif %}
</li>
{% endfor %}
......@@ -85,4 +85,4 @@
</div>
</div>
</div>
{% endblock %}
\ No newline at end of file
{% endblock %}
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