X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/af3e9caaf16b84899e825608d97d84431d8e9454..95a37db8ae5eb7c22eacda134cf396c8ca50f70a:/prawokultury/menu_items.py diff --git a/prawokultury/menu_items.py b/prawokultury/menu_items.py index 2a85fd6..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'), _('First aid'), - more_urls=( - reverse_lazy('questions_form'), - #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'),