Revision 75380308 snf-astakos-app/astakos/im/forms.py
b/snf-astakos-app/astakos/im/forms.py | ||
---|---|---|
66 | 66 |
MODERATION_ENABLED, PROJECT_MEMBER_JOIN_POLICIES, |
67 | 67 |
PROJECT_MEMBER_LEAVE_POLICIES, EMAILCHANGE_ENABLED, |
68 | 68 |
) |
69 |
from astakos.im.presentation import RESOURCES_PRESENTATION_DATA
|
|
69 |
from astakos.im import presentation
|
|
70 | 70 |
from astakos.im.widgets import DummyWidget, RecaptchaWidget |
71 | 71 |
from astakos.im.functions import ( |
72 | 72 |
send_change_email, submit_application, accept_membership_checks) |
... | ... | |
878 | 878 |
d.update(dict(resource=prefix, uplimit=None)) |
879 | 879 |
append(d) |
880 | 880 |
|
881 |
ordered_keys = RESOURCES_PRESENTATION_DATA['resources_order']
|
|
881 |
ordered_keys = presentation.RESOURCES['resources_order']
|
|
882 | 882 |
policies = sorted(policies, key=lambda r:ordered_keys.index(r['str_repr'])) |
883 | 883 |
return policies |
884 | 884 |
|
Also available in: Unified diff