| 
									
										
										
										
											2012-12-05 10:35:58 +00:00
										 |  |  | module PageContent | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   OrbitApp.registration "PageContent",:type=> 'ModuleApp' do | 
					
						
							|  |  |  |     module_label 'page' | 
					
						
							|  |  |  |     base_url File.expand_path File.dirname(__FILE__)     | 
					
						
							|  |  |  |     # personal_plugin :enable => true,:path=>"panel/announcement/plugin/profile",:i18n=>'admin.announcement' | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     version "0.1" | 
					
						
							|  |  |  |     organization "Rulingcom" | 
					
						
							|  |  |  |     author "RD dep" | 
					
						
							|  |  |  |     intro "I am intro" | 
					
						
							|  |  |  |     update_info 'some update_info' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-07-25 09:37:11 +00:00
										 |  |  |     authorizable do | 
					
						
							|  |  |  |       authorizable_on('PageContext') | 
					
						
							|  |  |  |     end | 
					
						
							| 
									
										
										
										
											2013-07-02 08:46:44 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-05 10:35:58 +00:00
										 |  |  |     front_end do | 
					
						
							| 
									
										
										
										
											2013-02-18 07:13:31 +00:00
										 |  |  |       app_page 'page_contexts' do  | 
					
						
							|  |  |  |         frontend_i18n "page_content.frontend.page" | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2012-12-05 10:35:58 +00:00
										 |  |  |     end | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     side_bar do | 
					
						
							| 
									
										
										
										
											2013-02-04 10:14:00 +00:00
										 |  |  |       head_label_i18n  'page',:icon_class=>"icons-newspaper" | 
					
						
							| 
									
										
										
										
											2012-12-05 10:35:58 +00:00
										 |  |  |       available_for [:admin,:guest,:manager,:sub_manager] | 
					
						
							|  |  |  |       active_for_controllers ({:private=>['page_contexts']}) | 
					
						
							|  |  |  |       active_for_object_auth ['PageContext']  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       head_link_path "panel_page_content_back_end_page_contexts_path" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-07-25 09:37:11 +00:00
										 |  |  |       context_link  'all', | 
					
						
							|  |  |  |                     :link_path => "panel_page_content_back_end_page_contexts_path", | 
					
						
							|  |  |  |                     :priority => 1, | 
					
						
							|  |  |  |                     :active_for_action => {:page_contexts => :index}, | 
					
						
							|  |  |  |                     :available_for => [:all] | 
					
						
							| 
									
										
										
										
											2012-12-05 10:35:58 +00:00
										 |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |