BaseView, BaseEditView, DeleteView, submit_btn, cancel_btn, ) from autonomie.views.training.routes import ( TRAINER_ITEM_URL, TRAINER_FILE_URL, USER_TRAINER_URL, USER_TRAINER_EDIT_URL, USER_TRAINER_FILE_URL, USER_TRAINER_ADD_URL) logger = logging.getLogger(__name__) TRAINER_MENU = AttrMenuDropdown( name='trainerdatas', label=u"Formation", default_route=USER_TRAINER_URL, icon=u"fa fa-graduation-cap", hidden_attribute="trainerdatas", perm="view.trainerdatas", ) TRAINER_MENU.add_item( name="trainerdatas_view", label=u"Fiche formateur", route_name=USER_TRAINER_EDIT_URL, icon=u'fa fa-user-circle-o', perm="edit.trainerdatas", ) TRAINER_MENU.add_item( name="trainerdatas_filelist", label=u"Fichiers liés au formateur", route_name=USER_TRAINER_FILE_URL, icon=u'fa fa-briefcase',
3, ), ('user_status', 3), ('type_id', 3)), ( ('date_range_start', 3), ('date_range_end', 3), ('items_per_page', 3), ('direction', 1), ('sort', 1), ('page', 1), ), ) ACCOMPAGNEMENT_MENU = AttrMenuDropdown( name="accompagnement", label=u"Accompagnement", default_route="/users/{id}/activities", icon=u"fa fa-users", hidden_attribute='login', perm="list.activity", ) ACCOMPAGNEMENT_MENU.add_item( name="activity_view", label=u"Rendez-vous", route_name=u'/users/{id}/activities', icon=u"fa fa-calendar", perm="list.activity", ) ACCOMPAGNEMENT_MENU.add_item( name="workshop_view", label=u"Ateliers", icon=u"fa fa-slideshare", route_name=u'/users/{id}/workshops',
USERDATAS_EDIT_URL, USERDATAS_DOCTYPES_URL, USER_USERDATAS_URL, USER_USERDATAS_ADD_URL, USER_USERDATAS_EDIT_URL, USER_USERDATAS_DOCTYPES_URL, USER_USERDATAS_PY3O_URL, ) from autonomie.views.user.tools import UserFormConfigState logger = logging.getLogger(__name__) USERDATAS_MENU = AttrMenuDropdown( name='userdatas', label=u'Gestion sociale', default_route=USER_USERDATAS_URL, icon=u'fa fa-id-card-o', hidden_attribute='userdatas', perm='edit.userdatas', ) USERDATAS_MENU.add_item( name="userdatas_view", label=u'Fiche du porteur', route_name=USER_USERDATAS_EDIT_URL, icon=u'fa fa-user-circle-o', perm='view.userdatas', ) USERDATAS_MENU.add_item( name="userdatas_parcours", label=u'Parcours', route_name=u'/users/{id}/userdatas/career_path', other_route_name=u'career_path',
from autonomie.views.training.routes import ( TRAINER_ITEM_URL, TRAINER_FILE_URL, USER_TRAINER_URL, USER_TRAINER_EDIT_URL, USER_TRAINER_FILE_URL, USER_TRAINER_ADD_URL ) logger = logging.getLogger(__name__) TRAINER_MENU = AttrMenuDropdown( name='trainerdatas', label=u"Formation", default_route=USER_TRAINER_URL, icon=u"fa fa-graduation-cap", hidden_attribute="trainerdatas", perm="view.trainerdatas", ) TRAINER_MENU.add_item( name="trainerdatas_view", label=u"Fiche formateur", route_name=USER_TRAINER_EDIT_URL, icon=u'fa fa-user-circle-o', perm="edit.trainerdatas", ) TRAINER_MENU.add_item( name="trainerdatas_filelist", label=u"Fichiers liés au formateur", route_name=USER_TRAINER_FILE_URL, icon=u'fa fa-briefcase',
USER_USERDATAS_URL, USER_USERDATAS_ADD_URL, USER_USERDATAS_EDIT_URL, USER_USERDATAS_DOCTYPES_URL, USER_USERDATAS_PY3O_URL, ) from autonomie.views.user.tools import UserFormConfigState logger = logging.getLogger(__name__) USERDATAS_MENU = AttrMenuDropdown( name='userdatas', label=u'Gestion sociale', default_route=USER_USERDATAS_URL, icon=u'fa fa-id-card-o', hidden_attribute='userdatas', perm='edit.userdatas', ) USERDATAS_MENU.add_item( name="userdatas_view", label=u'Fiche du porteur', route_name=USER_USERDATAS_EDIT_URL, icon=u'fa fa-user-circle-o', perm='view.userdatas', ) USERDATAS_MENU.add_item( name="userdatas_parcours", label=u'Parcours', route_name=u'/users/{id}/userdatas/career_path', other_route_name=u'career_path',
('direction', 1), ('sort', 1), ('page', 1), ), ) USER_SEARCH_GRID_FORM = ( (('year', 3,), ('status', 3, ), ('user_status', 3), ('type_id', 3)), ( ('date_range_start', 3), ('date_range_end', 3), ('items_per_page', 3), ('direction', 1), ('sort', 1), ('page', 1), ), ) ACCOMPAGNEMENT_MENU = AttrMenuDropdown( name="accompagnement", label=u"Accompagnement", default_route="/users/{id}/activities", icon=u"fa fa-users", hidden_attribute='login', perm="list.activity", ) ACCOMPAGNEMENT_MENU.add_item( name="activity_view", label=u"Rendez-vous", route_name=u'/users/{id}/activities', icon=u"fa fa-calendar", perm="list.activity", ) ACCOMPAGNEMENT_MENU.add_item( name="workshop_view", label=u"Ateliers", icon=u"fa fa-slideshare", route_name=u'/users/{id}/workshops',