Fix typo in core lib
Change i18n for more link in announcement init
This commit is contained in:
		
							parent
							
								
									031cf927d5
								
							
						
					
					
						commit
						04d3e177d5
					
				|  | @ -46,7 +46,7 @@ module  OrbitCoreLib | |||
|      def self.included(base) | ||||
| 
 | ||||
|       base.instance_eval("field :disable,type: Boolean,:default => false") | ||||
|       base.instance_eval("scope :all, where(:disable.in [false, nil, ''])") | ||||
|       base.instance_eval("scope :all, where(:disable.in => [false, nil, ''])") | ||||
|       base.instance_eval("scope :admin_manager_all,find(:all)") | ||||
|        | ||||
|       base.define_singleton_method :find do |*args| | ||||
|  |  | |||
|  | @ -27,7 +27,7 @@ module Announcement | |||
|         field :postdate | ||||
|         link_field :title,{:method => 'panel_announcement_front_end_bulletin_path',:args=>:self} | ||||
|         link_field :bulletin_category_with_title,{:method => 'panel_announcement_front_end_bulletins_path',:args=>{:category_id => [:bulletin_category,:id]}} | ||||
|         link_to_more 'panel_announcement_front_end_bulletins_path',:title_i18n=> 'announcement.default_widget.to_more' | ||||
|         link_to_more 'panel_announcement_front_end_bulletins_path',:title_i18n=> 'more_plus' | ||||
|       end | ||||
| 
 | ||||
|       categories_query 'BulletinCategory.all' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue