Orbit bar
Structure: page, link, edit and new, page view, edit page parts Temporary disable authentication in items controller
This commit is contained in:
1 parent
e4c33b443f
commit
a9d25dcdec
62 files changed
+6129
-7208
No files matched your search
@@ -91,6 +91,10 @@ module OrbitApp
|
||||
@data_count
|
||||
end
|
||||
|
||||
def get_icon_class
|
||||
@side_bar.get_icon_class
|
||||
end
|
||||
|
||||
def get_widget_by_path(path)
|
||||
if @widget_set
|
||||
@widget_set.find_by_path(path)
|
||||
|
||||
@@ -63,11 +63,19 @@ module OrbitApp
|
||||
def get_sidebar_order!
|
||||
@sidebar_order = (get_module_app.sidebar_order rescue 0)
|
||||
end
|
||||
|
||||
def get_icon_class
|
||||
@icon_class
|
||||
end
|
||||
|
||||
def get_module_app
|
||||
@get_module_app.call
|
||||
end
|
||||
|
||||
def get_module_app_key
|
||||
@module_app_key
|
||||
end
|
||||
|
||||
def head_label_i18n(var,options ={})
|
||||
@head_label = var
|
||||
@icon_class = options[:icon_class]
|
||||
|
||||
Reference in new issue
Block a user