Updated ADBanner with fixes on index page, ADImage with fixes

Conflicts:
	app/views/admin/ad_banners/index.html.erb
	app/views/admin/ad_images/_form.html.erb
	vendor/built_in_modules/ad_banner/init.rb
This commit is contained in:
saurabhbhatia committed 2013-08-09 15:21:51 +08:00
1 parent a5c800d3fe
commit a2e9aa2e0b
14 files changed
+414 -157

No files matched your search

+14 -1
View File
@@ -10,7 +10,8 @@ module AdBanner
intro "I am intro"
update_info 'some update_info'
authorizable
taggable
# front_end do
# app_page 'bulletins'
@@ -41,6 +42,18 @@ module AdBanner
head_link_path "admin_ad_banners_path"
context_link 'ad_banner.banner',
:link_path=>"admin_ad_banners_path" ,
:priority=>1,
:active_for_action=>{'admin/ad_banners'=>:index},
:available_for => [:manager]
context_link 'tags',
:link_path=>"admin_module_tags_path(module_app_id: get_module_app)" ,
:priority=>4,
:active_for_tag => 'Announcement',
:available_for => [:manager]
context_link 'module_authorization',
:link_path=>"admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: 'AdBanner'}))",
:priority=>6,