diff --git a/sigi/apps/home/templatetags/menu_conf.yaml b/sigi/apps/home/templatetags/menu_conf.yaml index b778bec..4e7716d 100644 --- a/sigi/apps/home/templatetags/menu_conf.yaml +++ b/sigi/apps/home/templatetags/menu_conf.yaml @@ -100,3 +100,5 @@ main_menu: url: saberes/dashboard/ - title: Cursos sem Tutoria url: saberes/dashboard/cursos-sem-turoria/ + - title: Cursos com Tutoria + url: saberes/dashboard/cursos-com-turoria/ diff --git a/sigi/apps/saberes/urls.py b/sigi/apps/saberes/urls.py index 43927ab..05254fc 100644 --- a/sigi/apps/saberes/urls.py +++ b/sigi/apps/saberes/urls.py @@ -1,13 +1,14 @@ # coding: utf-8 from django.conf.urls import patterns, url -from .views import cursos_sem_tutoria, dashboard, pentaho_proxy +from .views import cursos_sem_tutoria, cursos_com_tutoria, dashboard, pentaho_proxy urlpatterns = patterns( 'sigi.apps.saberes.views', - url(r'^dashboard/cursos-sem-turoria/?$', cursos_sem_tutoria, name="saberes-dashboard-detail"), + url(r'^dashboard/cursos-sem-turoria/?$', cursos_sem_tutoria, name="saberes-cursos-sem-tutoria"), + url(r'^dashboard/cursos-com-turoria/?$', cursos_com_tutoria, name="saberes-cursos-com-tutoria"), url(r'^dashboard/?$', dashboard, name="saberes-dashboard-view"), url(r'^(?P(plugin|api)/.*)$', pentaho_proxy), ) diff --git a/sigi/apps/saberes/views.py b/sigi/apps/saberes/views.py index 0007d24..ff8672e 100644 --- a/sigi/apps/saberes/views.py +++ b/sigi/apps/saberes/views.py @@ -40,6 +40,7 @@ def use_to_container_fluid(content): dashboard = make_dashboard('saberes-geral') cursos_sem_tutoria = make_dashboard('saberes-cursos-sem-tutoria', use_to_container_fluid) +cursos_com_tutoria = make_dashboard('saberes-cursos-com-tutoria', use_to_container_fluid) @csrf_exempt