Meníčko předěláno na hledání podle jmen URLs
FIXME: Výsledkovka (a možná pár dalších) jsou pořád ještě podle cesty, místo urlpatternu.
This commit is contained in:
parent
c2e9fc227d
commit
159901e19d
3 changed files with 36 additions and 36 deletions
|
@ -65,8 +65,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Aktuální<br/> ročník",
|
"title": "Aktuální<br/> ročník",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/zadani/aktualni/",
|
"url": "seminar_aktualni_zadani",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -117,8 +117,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Archiv",
|
"title": "Archiv",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/archiv/rocniky/",
|
"url": "seminar_archiv_rocniky",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -143,8 +143,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Přihlásit",
|
"title": "Přihlásit",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/login/",
|
"url": "login",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -195,8 +195,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Organizátoři",
|
"title": "Organizátoři",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/co-je-MaM/organizatori/",
|
"url": "organizatori",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -377,8 +377,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Články",
|
"title": "Články",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/clanky/resitel/",
|
"url": "clanky_resitel",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -455,8 +455,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Proběhlo",
|
"title": "Proběhlo",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/soustredeni/probehlo/",
|
"url": "seminar_seznam_soustredeni",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -481,8 +481,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Profil",
|
"title": "Profil",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/profil/",
|
"url": "profil",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -507,8 +507,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Osobní údaje",
|
"title": "Osobní údaje",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/profil/osobni-udaje",
|
"url": "seminar_resitel_edit",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -533,8 +533,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Poslat řešení",
|
"title": "Poslat řešení",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/odeslat-reseni/",
|
"url": "seminar_nahraj_reseni",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -559,8 +559,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Témata",
|
"title": "Témata",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/archiv/temata/",
|
"url": "seminar_temata",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -611,8 +611,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Aktuální",
|
"title": "Aktuální",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/korektury/",
|
"url": "korektury_list",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -637,8 +637,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Zastaralé",
|
"title": "Zastaralé",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/korektury/zastarale/",
|
"url": "korektury_stare_list",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -689,8 +689,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Aktuální číslo",
|
"title": "Aktuální číslo",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/zadani/aktualni/",
|
"url": "seminar_aktualni_zadani",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -715,8 +715,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Témata",
|
"title": "Témata",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/zadani/temata/",
|
"url": "seminar_temata",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -741,8 +741,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Čísla",
|
"title": "Čísla",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/archiv/rocniky/",
|
"url": "seminar_archiv_rocniky",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
@ -767,8 +767,8 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"title": "Úvod",
|
"title": "Úvod",
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"url": "/profil/",
|
"url": "profil",
|
||||||
"urlaspattern": false,
|
"urlaspattern": true,
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
|
|
|
@ -3,8 +3,8 @@ from seminar.utils import org_required
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('korektury/', org_required(views.KorekturyAktualniListView.as_view()), name='korektury-list'),
|
path('korektury/', org_required(views.KorekturyAktualniListView.as_view()), name='korektury_list'),
|
||||||
path('korektury/zastarale/', org_required(views.KorekturyZastaraleListView.as_view()), name='korektury-list'),
|
path('korektury/zastarale/', org_required(views.KorekturyZastaraleListView.as_view()), name='korektury_stare_list'),
|
||||||
path('korektury/<int:pdf>/', org_required(views.KorekturyView.as_view()), name='korektury'),
|
path('korektury/<int:pdf>/', org_required(views.KorekturyView.as_view()), name='korektury'),
|
||||||
path('korektury/help/', org_required(views.KorekturyHelpView.as_view()), name='korektury-help'),
|
path('korektury/help/', org_required(views.KorekturyHelpView.as_view()), name='korektury-help'),
|
||||||
]
|
]
|
||||||
|
|
|
@ -13,8 +13,8 @@ urlpatterns = [
|
||||||
path('co-je-MaM/organizatori/organizovali/', views.CojemamOrganizatoriStariView.as_view(), name='stari_organizatori'),
|
path('co-je-MaM/organizatori/organizovali/', views.CojemamOrganizatoriStariView.as_view(), name='stari_organizatori'),
|
||||||
|
|
||||||
# Archiv
|
# Archiv
|
||||||
path('archiv/rocniky/', views.ArchivView.as_view()),
|
path('archiv/rocniky/', views.ArchivView.as_view(), name="seninar_archiv_rocniky"),
|
||||||
path('archiv/temata/', views.ArchivTemataView.as_view()),
|
path('archiv/temata/', views.ArchivTemataView.as_view(), name="seninar_archiv_temata"),
|
||||||
|
|
||||||
path('rocnik/<int:rocnik>/', views.RocnikView.as_view(), name='seminar_rocnik'),
|
path('rocnik/<int:rocnik>/', views.RocnikView.as_view(), name='seminar_rocnik'),
|
||||||
path('cislo/<int:rocnik>.<str:cislo>/', views.CisloView.as_view(), name='seminar_cislo'),
|
path('cislo/<int:rocnik>.<str:cislo>/', views.CisloView.as_view(), name='seminar_cislo'),
|
||||||
|
|
Loading…
Reference in a new issue