Changes for default index:

- remove approvable and filterable
 - add display_option
 - change params
Update web link and gallery index
This commit is contained in:
chris committed 2013-07-25 11:32:25 +08:00
1 parent af0ab9f0d3
commit 1dc7884ec0
7 files changed
+129 -102

No files matched your search

@@ -1,7 +1,5 @@
<% set_default_index do
objects @web_links
filterable
sortable
quick_edit_link type: 'edit',
link: 'edit_panel_web_resource_back_end_web_link_path'
quick_edit_link type: 'detail'
@@ -14,22 +12,19 @@
sort: 'status',
header_class: 'span2'
field type: 'associated',
associated_value: 'title',
db_field: 'category',
model_field: 'title',
translation: 'category',
hide: 'phone',
sort: 'category',
header_class: 'span2'
field type: 'field',
db_field: 'title',
field db_field: 'title',
translation: 'title',
sort: 'title',
link: 'panel_web_resource_front_end_web_link_path',
display_option: 'link_to value, panel_web_resource_front_end_web_link_path(object)',
quick_edit: true,
header_class: 'span5'
field type: 'tags',
db_field: 'tags',
translation: 'tags',
hide: 'all',
sort: 'tags'
filter_field type: 'array',