Odkazy na přehled odevzdaných řešení z profilu a z meníčka
+ lepší URL
This commit is contained in:
parent
adef6c6627
commit
fdac1a643d
3 changed files with 31 additions and 4 deletions
|
@ -700,8 +700,8 @@
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
"insitetree": true,
|
"insitetree": true,
|
||||||
"parent": 21,
|
"parent": 21,
|
||||||
"sort_order": 37,
|
"sort_order": 38,
|
||||||
"title": "Odevzdaná řešení",
|
"title": "Došlá řešení",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "odevzdavatko_tabulka",
|
"url": "odevzdavatko_tabulka",
|
||||||
"urlaspattern": true
|
"urlaspattern": true
|
||||||
|
@ -724,7 +724,7 @@
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
"insitetree": true,
|
"insitetree": true,
|
||||||
"parent": 21,
|
"parent": 21,
|
||||||
"sort_order": 38,
|
"sort_order": 42,
|
||||||
"title": "Odhlásit se",
|
"title": "Odhlásit se",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "logout",
|
"url": "logout",
|
||||||
|
@ -806,5 +806,31 @@
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
"pk": 41
|
"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
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
<a href="{% url 'logout' %}">Odhlásit se</a><br>
|
<a href="{% url 'logout' %}">Odhlásit se</a><br>
|
||||||
<a href="{% url 'seminar_resitel_edit' %}">Upravit údaje</a><br>
|
<a href="{% url 'seminar_resitel_edit' %}">Upravit údaje</a><br>
|
||||||
|
<a href="{% url 'seminar_resitel_odevzdana_reseni' %}">Odevzdaná řešení</a><br>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -135,6 +135,7 @@ urlpatterns = [
|
||||||
path('prihlasit/', views.LoginView.as_view(), name='login'),
|
path('prihlasit/', views.LoginView.as_view(), name='login'),
|
||||||
path('odhlasit/', views.LogoutView.as_view(), name='logout'),
|
path('odhlasit/', views.LogoutView.as_view(), name='logout'),
|
||||||
path('resitel/', resitel_required(views.ResitelView.as_view()), name='seminar_resitel'),
|
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('reset-hesla/', views.PasswordResetView.as_view(), name='reset_password'),
|
||||||
path('zmena-hesla/', views.PasswordChangeView.as_view(), name='change_password'),
|
path('zmena-hesla/', views.PasswordChangeView.as_view(), name='change_password'),
|
||||||
path('reset-hesla/2/', views.PasswordResetDoneView.as_view(), name='reset_password_done'),
|
path('reset-hesla/2/', views.PasswordResetDoneView.as_view(), name='reset_password_done'),
|
||||||
|
@ -173,5 +174,4 @@ urlpatterns = [
|
||||||
path('temp/reseni/<int:pk>', org_required(viewMethodSwitch(get=views.DetailReseniView.as_view(), post=views.hodnoceniReseniView)), name='odevzdavatko_detail_reseni'),
|
path('temp/reseni/<int:pk>', 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/all', org_required(views.SeznamReseniView.as_view())),
|
||||||
path('temp/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())),
|
path('temp/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())),
|
||||||
path('temp/reseni/resitel', resitel_required(views.PrehledOdevzdanychReseni.as_view())),
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue