Skip to content

Commit

Permalink
Alter pikau unit header to display course instead of module
Browse files Browse the repository at this point in the history
This matches iQualify website
  • Loading branch information
JackMorganNZ committed May 23, 2018
1 parent e3db7ec commit 0c8d09b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions templates/pikau/pikauunit_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@

{% block custom_page_heading %}
<div class="jumbotron bg-size-cover text-white"{% if pikau_unit.pikau_course.cover_photo %} style="background-image:url({% static pikau_unit.pikau_course.cover_photo %});"{% endif %}>
{% if pikau_unit.module_name %}
<div>{{ pikau_unit.module_name }}</div>
{% endif %}
<div class="mb-3">
<span class="border-bottom pb-2">
{{ pikau_unit.pikau_course.name }}
</span>
</div>
<h1>
{{ pikau_unit.name }}
</h1>
Expand Down

0 comments on commit 0c8d09b

Please sign in to comment.