c5ed59a3f2546b79acc43296860781614d63e4eb,modules/templates/CCC/menus.py,S3MainMenu,menu_modules,#Any#,36
Before Change
if auth.s3_has_role("ADMIN"):
menu = [MM("General Information and Advice", c="cms", f="post", m="datalist"),
MM("All Documents", c="doc", f="document", m="datalist"),
MM("Volunteers", c="hrm", f="human_resource"),
MM("Events", c="hrm", f="training_event"),
MM("Opportunities", c="req", f="need"),
MM("Messages", c="project", f="task"),
After Change
elif auth.s3_has_role("ORG_ADMIN"):
menu = [MM("General Information and Advice", c="cms", f="post", m="datalist"),
MM("Organisation Documents", c="doc", f="document", m="datalist"),
MM("Volunteers", c="hrm", f="human_resource")(MM("Reserves", c="pr", f="person", vars={"reserves": 1})),
MM("Events", c="hrm", f="training_event"),
MM("Opportunities", c="req", f="need"),
MM("Messages", c="project", f="task"),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: sahana/eden
Commit Name: c5ed59a3f2546b79acc43296860781614d63e4eb
Time: 2019-07-10
Author: fran@aidiq.com
File Name: modules/templates/CCC/menus.py
Class Name: S3MainMenu
Method Name: menu_modules
Project Name: sahana/eden
Commit Name: 7ee31eaac025fd3b7af31916e68466e79f27a0f1
Time: 2021-02-23
Author: dominic@nursix.org
File Name: modules/templates/RLPPTM/menus.py
Class Name: S3MainMenu
Method Name: menu_modules
Project Name: sahana/eden
Commit Name: 1199171b41dc7af97664d718e61775d8dd3d6a58
Time: 2020-03-20
Author: fran@aidiq.com
File Name: modules/templates/CCC/menus.py
Class Name: S3MainMenu
Method Name: menu_modules