remove admin only flags for sections and locale
This commit is contained in:
parent
1fb1fd9d89
commit
550ced514d
6 changed files with 6 additions and 8 deletions
|
|
@ -56,8 +56,7 @@ pandora.ui.mainMenu = function() {
|
|||
return {
|
||||
id: section,
|
||||
title: section == 'items' ? Ox._(pandora.site.itemName.plural) : Ox._(Ox.toTitleCase(section)),
|
||||
checked: ui.section == section,
|
||||
disabled: section != 'items' && pandora.user.level != 'admin'
|
||||
checked: ui.section == section
|
||||
};
|
||||
}) }
|
||||
] },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue