Fix new ui [app_name]_category_with_title and change announcement & faq init
This commit is contained in:
		
							parent
							
								
									0a69bbb653
								
							
						
					
					
						commit
						e54edadbb4
					
				| 
						 | 
				
			
			@ -37,7 +37,7 @@ module Announcement
 | 
			
		|||
        image :image
 | 
			
		||||
        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_field :bulletin_category_with_title,{:method => 'panel_announcement_front_end_bulletins_path',:args=>{:category_id => [:category,:id]}}
 | 
			
		||||
        field :subtitle
 | 
			
		||||
        link_to_more 'panel_announcement_front_end_bulletins_path',:title_i18n=> 'more_plus'
 | 
			
		||||
      end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ module Faq
 | 
			
		|||
      default_widget do
 | 
			
		||||
        query 'Qa.all'
 | 
			
		||||
        # enable ['typeA']
 | 
			
		||||
        link_field :qa_category_with_title,{:method => 'panel_faq_front_end_qas_path',:args=>{:category_id => [:qa_category,:id]}}
 | 
			
		||||
        link_field :qa_category_with_title,{:method => 'panel_faq_front_end_qas_path',:args=>{:category_id => [:category,:id]}}
 | 
			
		||||
        link_field :title, {:method => 'panel_faq_front_end_qa_path',:args=>:self}
 | 
			
		||||
        link_to_more 'panel_faq_front_end_qas_path',:title_i18n=> 'faq.default_widget.to_more'
 | 
			
		||||
      end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue