From e5c7be58af39faf76ba22e0868c7d98e1ac6fb6f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 27 Dec 2013 12:58:36 +0100 Subject: Manage administrativ act registers (refs #1587) * specific wizard * csv export * new actions --- archaeological_operations/ishtar_menu.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/ishtar_menu.py') diff --git a/archaeological_operations/ishtar_menu.py b/archaeological_operations/ishtar_menu.py index 6015ae43a..5fa3ab433 100644 --- a/archaeological_operations/ishtar_menu.py +++ b/archaeological_operations/ishtar_menu.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2012 Étienne Loks +# Copyright (C) 2012-2013 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -17,7 +17,7 @@ # See the file COPYING for details. -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import ugettext_lazy as _, pgettext_lazy from ishtar_common.menu_base import SectionItem, MenuItem @@ -90,6 +90,15 @@ MENU_SECTIONS = [ ]) ]), ), + (35, SectionItem('administrativact_management', _(u"Administrative Act"), + childs=[ + MenuItem('administrativact_register', + pgettext_lazy('admin act register',u"Register"), + model=models.AdministrativeAct, + access_controls=['view_administrativeact', + 'view_own_administrativeact']), + ]) + ), (102, SectionItem('dashboard', _(u"Dashboard"), childs=[ MenuItem('dashboard_main', _(u"General informations"), -- cgit v1.2.3