32 |
32 |
33 # |
33 # |
34 # User skinnable properties configuration |
34 # User skinnable properties configuration |
35 # |
35 # |
36 |
36 |
37 @viewlet_config(name='user-skin-properties.divider', context=IUserSkinnable, layer=IAdminLayer, manager=IPropertiesMenu, |
37 @viewlet_config(name='user-skin-properties.divider', context=IUserSkinnable, layer=IAdminLayer, |
38 permission=MANAGE_SKIN_PERMISSION, weight=199) |
38 manager=IPropertiesMenu, permission=MANAGE_SKIN_PERMISSION, weight=499) |
39 class UserSkinnablePropertiesMenuDivider(MenuDivider): |
39 class UserSkinnablePropertiesMenuDivider(MenuDivider): |
40 """User skin properties menu divider""" |
40 """User skin properties menu divider""" |
41 |
41 |
42 |
42 |
43 @viewlet_config(name='user-skin-properties.menu', context=IUserSkinnable, layer=IAdminLayer, manager=IPropertiesMenu, |
43 @viewlet_config(name='user-skin-properties.menu', context=IUserSkinnable, layer=IAdminLayer, |
44 permission=MANAGE_SKIN_PERMISSION, weight=200) |
44 manager=IPropertiesMenu, permission=MANAGE_SKIN_PERMISSION, weight=500) |
45 class UserSkinnablePropertiesMenuItem(MenuItem): |
45 class UserSkinnablePropertiesMenuItem(MenuItem): |
46 """User skin properties menu""" |
46 """User skin properties menu""" |
47 |
47 |
48 label = _("Graphic theme...") |
48 label = _("Graphic theme...") |
49 icon_class = 'fa-paint-brush' |
49 icon_class = 'fa-paint-brush' |