Skip to content

Commit

Permalink
Add unique title to course pages
Browse files Browse the repository at this point in the history
issue #5158
  • Loading branch information
nikolas committed Dec 18, 2023
1 parent aeee0f9 commit a0468e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mediathread/templates/base_new.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Mediathread {% block title %}{% endblock %}</title>
<title>{% block title %}{% endblock %} Mediathread</title>

<meta id="csrf-token" name="csrf-token" content="{{csrf_token}}">

Expand Down
4 changes: 3 additions & 1 deletion mediathread/templates/courseaffils/course_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
{% load static %}

{% block title %}
Home
{% if object %}
{{ object.title }} |
{% endif %}
{% endblock %}

{% block masthead %}
Expand Down
2 changes: 1 addition & 1 deletion mediathread/templates/courseaffils/course_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load coursetags %}
{% load static %}

{% block title %}&mdash; My Courses{% endblock %}
{% block title %}My Courses |{% endblock %}

{% block coursetitle %}
My Courses
Expand Down
2 changes: 1 addition & 1 deletion mediathread/templates/courseaffils/course_update_form.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'dashboard/base_course_dashboard.html' %}
{% load bootstrap4 %}

{% block title %}{{block.super}}&mdash; Manage Course{% endblock %}
{% block title %}{{block.super}}Manage Course |{% endblock %}

{% block dashboard_content %}
{{ form.media }}
Expand Down

0 comments on commit a0468e6

Please sign in to comment.