| 1 | Index: /Users/lboje/Documents/workspace/afi/vendor/plugins/streamlined/lib/streamlined/helpers/table_helper.rb |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- /Users/lboje/Documents/workspace/afi/vendor/plugins/streamlined/lib/streamlined/helpers/table_helper.rb (revision 877) |
|---|
| 4 | +++ /Users/lboje/Documents/workspace/afi/vendor/plugins/streamlined/lib/streamlined/helpers/table_helper.rb (working copy) |
|---|
| 5 | @@ -37,7 +37,7 @@ |
|---|
| 6 | |
|---|
| 7 | def streamlined_filter |
|---|
| 8 | if model_ui.show_table_filter? |
|---|
| 9 | - "<div><form><label for='streamlined_filter_term'>Filter:</label> <input type='text' name='streamlined_filter_term' id='streamlined_filter_term'></form></div>" |
|---|
| 10 | + "<div><form><label for='streamlined_filter_term'>#{model_ui.table_filter[:label]}:</label> <input type='text' name='streamlined_filter_term' id='streamlined_filter_term'></form></div>" |
|---|
| 11 | else |
|---|
| 12 | "" |
|---|
| 13 | end |
|---|
| 14 | Index: /Users/lboje/Documents/workspace/afi/vendor/plugins/streamlined/lib/streamlined/ui.rb |
|---|
| 15 | =================================================================== |
|---|
| 16 | --- /Users/lboje/Documents/workspace/afi/vendor/plugins/streamlined/lib/streamlined/ui.rb (revision 877) |
|---|
| 17 | +++ /Users/lboje/Documents/workspace/afi/vendor/plugins/streamlined/lib/streamlined/ui.rb (working copy) |
|---|
| 18 | @@ -34,7 +34,7 @@ |
|---|
| 19 | declarative_scalar :quick_edit_button, :default => true |
|---|
| 20 | declarative_scalar :quick_new_button, :default => true |
|---|
| 21 | declarative_scalar :quick_show_button, :default => true |
|---|
| 22 | - declarative_scalar :table_filter, :default => {:show => true, :case_sensitive => true} |
|---|
| 23 | + declarative_scalar :table_filter, :default => {:show => true, :case_sensitive => true, :label => 'Filter'} |
|---|
| 24 | declarative_scalar :read_only, :default => false |
|---|
| 25 | declarative_scalar :new_submit_button, :default => {:ajax => true} |
|---|
| 26 | declarative_scalar :edit_submit_button, :default => {:ajax => true} |
|---|