fix member sidebar
add i18n for modules and default_widgets
This commit is contained in:
1 parent
8e7e601845
commit
29bb92f841
18 files changed
+38
-22
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
module Gallery
|
||||
OrbitApp.registration "Gallery",:type=> 'ModuleApp' do
|
||||
module_label 'miss_module_i18n.gallery'
|
||||
module_label 'gallery.gallery'
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
# personal_plugin :enable => true,:path=>"panel/gallery/plugin/profile",:i18n=>'admin.gallery'
|
||||
|
||||
@@ -41,7 +41,7 @@ module Gallery
|
||||
end
|
||||
|
||||
side_bar do
|
||||
head_label_i18n 'miss_module_i18n.gallery',:icon_class=>"icons-pictures"
|
||||
head_label_i18n 'gallery.gallery',:icon_class=>"icons-pictures"
|
||||
available_for [:admin,:guest,:manager,:sub_manager]
|
||||
active_for_controllers ({:private=>['albums','album_images','gallery_categories','/panel/gallery/back_end/tags']})
|
||||
active_for_object_auth ['BulletinCategory']
|
||||
|
||||
Reference in new issue
Block a user