diff --git a/data/sitetree.json b/data/sitetree.json
index 26c70ca3..2c1b1a65 100644
--- a/data/sitetree.json
+++ b/data/sitetree.json
@@ -700,8 +700,8 @@
"inmenu": true,
"insitetree": true,
"parent": 21,
- "sort_order": 37,
- "title": "Odevzdaná řešení",
+ "sort_order": 38,
+ "title": "Došlá řešení",
"tree": 1,
"url": "odevzdavatko_tabulka",
"urlaspattern": true
@@ -724,7 +724,7 @@
"inmenu": true,
"insitetree": true,
"parent": 21,
- "sort_order": 38,
+ "sort_order": 42,
"title": "Odhlásit se",
"tree": 1,
"url": "logout",
@@ -806,5 +806,31 @@
},
"model": "sitetree.treeitem",
"pk": 41
+ },
+ {
+ "fields": {
+ "access_guest": false,
+ "access_loggedin": false,
+ "access_perm_type": 1,
+ "access_permissions": [
+ 2
+ ],
+ "access_restricted": true,
+ "alias": null,
+ "description": "",
+ "hidden": false,
+ "hint": "",
+ "inbreadcrumbs": true,
+ "inmenu": true,
+ "insitetree": true,
+ "parent": 21,
+ "sort_order": 37,
+ "title": "Odevzdaná řešení",
+ "tree": 1,
+ "url": "seminar_resitel_odevzdana_reseni",
+ "urlaspattern": true
+ },
+ "model": "sitetree.treeitem",
+ "pk": 42
}
]
\ No newline at end of file
diff --git a/seminar/templates/seminar/profil/resitel.html b/seminar/templates/seminar/profil/resitel.html
index 8f29d246..364bd541 100644
--- a/seminar/templates/seminar/profil/resitel.html
+++ b/seminar/templates/seminar/profil/resitel.html
@@ -11,6 +11,7 @@
Odhlásit se
Upravit údaje
+Odevzdaná řešení
{% endblock %}
diff --git a/seminar/urls.py b/seminar/urls.py
index 5b469170..8ee67404 100644
--- a/seminar/urls.py
+++ b/seminar/urls.py
@@ -135,6 +135,7 @@ urlpatterns = [
path('prihlasit/', views.LoginView.as_view(), name='login'),
path('odhlasit/', views.LogoutView.as_view(), name='logout'),
path('resitel/', resitel_required(views.ResitelView.as_view()), name='seminar_resitel'),
+ path('resitel/odevzdana_reseni/', resitel_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'),
path('reset-hesla/', views.PasswordResetView.as_view(), name='reset_password'),
path('zmena-hesla/', views.PasswordChangeView.as_view(), name='change_password'),
path('reset-hesla/2/', views.PasswordResetDoneView.as_view(), name='reset_password_done'),
@@ -173,5 +174,4 @@ urlpatterns = [
path('temp/reseni/', org_required(viewMethodSwitch(get=views.DetailReseniView.as_view(), post=views.hodnoceniReseniView)), name='odevzdavatko_detail_reseni'),
path('temp/reseni/all', org_required(views.SeznamReseniView.as_view())),
path('temp/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())),
- path('temp/reseni/resitel', resitel_required(views.PrehledOdevzdanychReseni.as_view())),
]