afde33de23fc6357c8524930f79f48d55d6e4b7c,modules/templates/CCC/menus.py,S3MainMenu,menu_modules,#Any#,36
Before Change
menu.append(MM("General Information and Advice", c="cms", f="post", m="datalist"))
if auth.s3_has_role("ADMIN"):
menu += [MM("Events", c="req", f="req",
),
MM("All Documents", c="doc", f="document", m="datalist",
),
]
elif auth.s3_has_role("VOLUNTEER"):
menu += [MM("Organisation Documents", c="doc", f="document", m="datalist",
),
MM("Events", c="hrm", f="training_event",
After Change
]
else:
menu = [MM("Volunteer Your Time", c="default", f="index", args="volunteer"),
MM("Donate Items", c="default", f="index", args="donate"),
MM("General Information and Advice", c="cms", f="post", m="datalist"),
]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: sahana/eden
Commit Name: afde33de23fc6357c8524930f79f48d55d6e4b7c
Time: 2019-07-09
Author: fran@aidiq.com
File Name: modules/templates/CCC/menus.py
Class Name: S3MainMenu
Method Name: menu_modules
Project Name: sahana/eden
Commit Name: b9bbe1982cc10193d4ee4bae5bca2b69be106887
Time: 2019-10-31
Author: fran@aidiq.com
File Name: modules/templates/CCC/menus.py
Class Name: S3MainMenu
Method Name: menu_modules
Project Name: sahana/eden
Commit Name: 26e128ef69a8aba1acda96498d9670b60f8145c1
Time: 2019-07-12
Author: fran@aidiq.com
File Name: modules/templates/CCC/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