X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/92fd89419f48638b2181671cdc6c1f42adcbc395..91117520dbe0336cd5acc91c6d8e23d81141f9df:/prawokultury/menu_items.py?ds=inline diff --git a/prawokultury/menu_items.py b/prawokultury/menu_items.py index 8f5d806..1da9c69 100644 --- a/prawokultury/menu_items.py +++ b/prawokultury/menu_items.py @@ -14,8 +14,7 @@ ITEMS.append(ObjectMenuItem( ITEMS.append(ModelMenuItem(Entry, reverse_lazy('migdal_entry_list_publications'), field_lookups={'type': 'publications'}, title=_('Publications'))) -ITEMS.append(MenuItem(reverse_lazy('events'), _('Events'), - more_urls=(reverse_lazy('events_past'),))) +ITEMS.append(MenuItem(reverse_lazy('events'), _('Events'))) ITEMS.append(ObjectMenuItem( obj_get=lambda:Category.objects.get(slug_pl='stanowisko'), @@ -23,12 +22,7 @@ ITEMS.append(ObjectMenuItem( title=_('Positions') )) -ITEMS.append(MenuItem(reverse_lazy('questions_form'), _('First aid'), - more_urls=( - reverse_lazy('questions'), - #reverse_lazy('questions_question'), - reverse_lazy('questions_thanks'), - ))) +ITEMS.append(MenuItem(reverse_lazy('questions'), _('First aid'))) ITEMS.append(ObjectMenuItem( obj_get=lambda:Entry.published_objects.get(slug_pl='pierwsza-pomoc'),