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
|
image :image
|
||||||
field :postdate
|
field :postdate
|
||||||
link_field :title,{:method => 'panel_announcement_front_end_bulletin_path',:args=>:self}
|
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
|
field :subtitle
|
||||||
link_to_more 'panel_announcement_front_end_bulletins_path',:title_i18n=> 'more_plus'
|
link_to_more 'panel_announcement_front_end_bulletins_path',:title_i18n=> 'more_plus'
|
||||||
end
|
end
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Faq
|
||||||
default_widget do
|
default_widget do
|
||||||
query 'Qa.all'
|
query 'Qa.all'
|
||||||
# enable ['typeA']
|
# 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_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'
|
link_to_more 'panel_faq_front_end_qas_path',:title_i18n=> 'faq.default_widget.to_more'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue