New UI changes(tags, categories, authorisations, module index…)

To run:
  - ruby lib/remove_old_tags.rb DB_NAME
  - rake new_ui:migrate_tags
  - rake new_ui:migrate_categories['APP_KEY,''MODEL_NAME'] (check new_ui.rake for more details)
This commit is contained in:
chris committed 2013-07-02 16:46:44 +08:00
1 parent 07b3857465
commit 856898016b
1495 files changed
+52132 -9876

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
en:
module_name:
ad_banner: Asset
@@ -0,0 +1,4 @@
zh_tw:
module_name:
ad_banner: 資產
+20
View File
@@ -0,0 +1,20 @@
module Asset
OrbitApp.registration "Asset",:type=> 'ModuleApp' do
module_label 'module_name.asset'
base_url File.expand_path File.dirname(__FILE__)
# side_bar do
# head_label_i18n 'module_name.asset',:icon_class=>"icons-landscape"
# available_for [:admin,:guest,:manager,:sub_manager]
# active_for_controllers ({:public=>['admin/ad_banners', 'admin/ad_images']})
# head_link_path "admin_ad_banners_path"
# context_link 'module_authorization',
# :link_path=>"admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: 'AdBanner'}))",
# :priority=>6,
# :active_for_app_auth => 'ad_banners',
# :available_for => [:admin]
# end
end
end