diff --git a/courses/templates/category/create.html b/courses/templates/category/create.html index 728c373..55dc56a 100644 --- a/courses/templates/category/create.html +++ b/courses/templates/category/create.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'home.html' %} {% load static i18n permission_tags %} {% load widget_tweaks %} @@ -11,17 +11,7 @@ {% endblock %} {% block sidebar %} - +{{block.super}} {% if user|has_role:'professor' or user|has_role:'system_admin' %} diff --git a/courses/templates/category/index.html b/courses/templates/category/index.html index 361c188..a92ab7b 100644 --- a/courses/templates/category/index.html +++ b/courses/templates/category/index.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'home.html' %} {% load static i18n %} {% load static i18n permission_tags %} @@ -12,17 +12,7 @@ {% endblock %} {% block sidebar %} - +{{block.super}} {% if user|has_role:'professor' or user|has_role:'system_admin' %} @@ -83,7 +73,7 @@ - + diff --git a/courses/templates/category/update.html b/courses/templates/category/update.html index 7e0b47c..17da193 100644 --- a/courses/templates/category/update.html +++ b/courses/templates/category/update.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'Home.html' %} {% load static i18n %} {% load static i18n permission_tags %} @@ -12,17 +12,7 @@ {% endblock %} {% block sidebar %} - +{{block.super}} {% if user|has_role:'professor' or user|has_role:'system_admin' %} diff --git a/courses/templates/course/index.html b/courses/templates/course/index.html index 5516ded..37ceb98 100644 --- a/courses/templates/course/index.html +++ b/courses/templates/course/index.html @@ -1,4 +1,4 @@ -{% extends 'home_professor.html' %} +{% extends 'home.html' %} {% load static i18n permission_tags %} {% load django_bootstrap_breadcrumbs %} @@ -11,35 +11,7 @@ {% endblock %} {% block sidebar %} -
-
-

{% trans 'Menu' %}

-
-
- -
-
+{{block.super}} {% if user|has_role:'professor' or user|has_role:'system_admin' %}
-- libgit2 0.21.2