File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
django_project/certification/templates/course Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,15 @@ <h1 class="title">{{ course.course_type.name }} ({{ course.start_date }} to {{ c
9393 </ div >
9494 < div class ="columns ">
9595 < div class ="column is-4 has-text-weight-medium "> Organisation:</ div >
96- < div class ="column "> {{ course.certifying_organisation.name }}</ div >
96+ < div class ="column ">
97+ {% if course.certifying_organisation.url %}
98+ < a href ="{{ course.certifying_organisation.url }} " target ="_blank " rel ="noopener noreferrer ">
99+ {{ course.certifying_organisation.name }}
100+ </ a >
101+ {% else %}
102+ {{ course.certifying_organisation.name }}
103+ {% endif %}
104+ </ div >
97105 </ div >
98106 < div class ="columns ">
99107 < div class ="column is-4 has-text-weight-medium "> Start date:</ div >
You can’t perform that action at this time.
0 commit comments