diff --git a/app/templates/home_professor.html b/app/templates/home_professor.html index 1a6e8e7..265de29 100644 --- a/app/templates/home_professor.html +++ b/app/templates/home_professor.html @@ -6,7 +6,7 @@ {% block breadcrumbs %} {% clear_breadcrumbs %} - {% breadcrumb 'Home' '/' %} + {% breadcrumb 'Home' 'app:index' %} {% endblock %} diff --git a/courses/templates/course/index.html b/courses/templates/course/index.html index ded9f7b..a160744 100644 --- a/courses/templates/course/index.html +++ b/courses/templates/course/index.html @@ -1,12 +1,13 @@ -{% extends 'app/base.html' %} +{% extends 'home_professor.html' %} {% load static i18n permission_tags %} +{% load django_bootstrap_breadcrumbs %} {% block breadcrumbs %} - + + {{ block.super }} + {% breadcrumb 'Courses' 'course:manage' %} + {% endblock %} {% block sidebar %} diff --git a/courses/templates/course/view.html b/courses/templates/course/view.html index 4a97d8f..da86519 100644 --- a/courses/templates/course/view.html +++ b/courses/templates/course/view.html @@ -1,16 +1,13 @@ -{% extends 'home_professor.html' %} +{% extends 'course/index.html' %} {% load static i18n permission_tags %} +{% load django_bootstrap_breadcrumbs %} {% block breadcrumbs %} -
-
- -
-
+ + {{ block.super }} + {% breadcrumb 'Course detail' 'course:view' %} + {% endblock %} -- libgit2 0.21.2