2b57cf4db2b4c77b3c7c28b0f899d02282733c72,modules/templates/IFRC/menus.py,S3MainMenu,menu_modules,#Any#,43
Before Change
limitby = (0, 1),
).first()
if member:
profile = MM("My RDRT Profile",
c="deploy", f="human_resource", args=[member.id, "profile"],
)
else:
profile = None
return [homepage("deploy", name="RDRT")(
profile,
),
]
settings = current.deployment_settings
root_org = auth.root_org_name()
After Change
]
elif not has_role("RDRT_ADMIN") and auth.s3_has_role("RDRT_MEMBER"):
// Simplified menu for AP RDRT
return []
settings = current.deployment_settings
root_org = auth.root_org_name()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: sahana/eden
Commit Name: 2b57cf4db2b4c77b3c7c28b0f899d02282733c72
Time: 2019-06-19
Author: fran@aidiq.com
File Name: modules/templates/IFRC/menus.py
Class Name: S3MainMenu
Method Name: menu_modules
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: b6ccac816c03415b9bcea259dfbdd24c36564ab4
Time: 2019-02-26
Author: fran@aidiq.com
File Name: modules/templates/HowCalm/menus.py
Class Name: S3MainMenu
Method Name: menu_modules