Skip to content

Navigation

hypha.core.navigation

nav_items module-attribute

nav_items = [{'title': gettext_lazy('My Dashboard'), 'url': reverse_lazy('dashboard:dashboard'), 'permission_method': 'has_dashboard_access'}, {'title': gettext_lazy('Submissions'), 'url': reverse_lazy('apply:submissions:overview'), 'permission_method': 'is_apply_staff_or_reviewer_required', 'sub_items': [{'title': gettext_lazy('All Submissions'), 'url': reverse_lazy('apply:submissions:list'), 'permission_method': 'is_apply_staff_or_reviewer_required'}, {'title': gettext_lazy('Staff Assignments'), 'url': reverse_lazy('apply:submissions:staff_assignments'), 'permission_method': 'is_apply_staff'}, {'title': gettext_lazy('Reviews'), 'url': reverse_lazy('apply:submissions:reviewer_leaderboard'), 'permission_method': 'is_apply_staff'}, {'title': gettext_lazy('Results'), 'url': reverse_lazy('apply:submissions:result'), 'permission_method': 'is_apply_staff'}, {'title': gettext_lazy('Staff flagged'), 'url': reverse_lazy('apply:submissions:staff_flagged'), 'permission_method': 'is_apply_staff'}]}, {'title': gettext_lazy('Projects'), 'url': reverse_lazy('apply:projects:overview'), 'permission_method': 'is_apply_staff_or_finance_or_contracting', 'sub_items': [{'title': gettext_lazy('All Projects'), 'url': reverse_lazy('apply:projects:all'), 'permission_method': 'is_apply_staff_or_finance_or_contracting'}, {'title': gettext_lazy('Invoices'), 'url': reverse_lazy('apply:projects:invoices'), 'permission_method': 'is_apply_staff_or_finance'}, {'title': gettext_lazy('Reports'), 'url': reverse_lazy('apply:projects:reports:all'), 'permission_method': 'is_apply_staff_or_finance'}]}]