@@ -1,6 +1,8 | |||
|
1 | 1 | <table style="border-collapse: collapse; border:0;"> |
|
2 | 2 | <tr> |
|
3 |
<td style="padding-left:0"> |
|
|
3 | <td style="padding-left:0"> | |
|
4 | <%= label_tag "available_columns", l(:description_available_columns), :class => "hidden-for-sighted" %> | |
|
5 | <%= select_tag 'available_columns', | |
|
4 | 6 | options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}), |
|
5 | 7 | :multiple => true, :size => 10, :style => "width:150px" %> |
|
6 | 8 | </td> |
@@ -10,7 +12,9 | |||
|
10 | 12 | <input type="button" value="←" |
|
11 | 13 | onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" /> |
|
12 | 14 | </td> |
|
13 | <td><%= select_tag 'c[]', | |
|
15 | <td> | |
|
16 | <%= label_tag "selected_columns", l(:description_selected_columns), :class => "hidden-for-sighted" %> | |
|
17 | <%= select_tag 'c[]', | |
|
14 | 18 | options_for_select(query.columns.collect {|column| [column.caption, column.name]}), |
|
15 | 19 | :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %> |
|
16 | 20 | </td> |
@@ -114,7 +114,10 Event.observe(document,"dom:loaded", apply_filters_observer); | |||
|
114 | 114 | <label for="cb_<%= field %>"><%= filter[1][:name] || l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) %></label> |
|
115 | 115 | </td> |
|
116 | 116 | <td class="operator"> |
|
117 | <%= select_tag "op[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');" %> | |
|
117 | <%= label_tag "op_#{field}", l(:description_filter), :class => "hidden-for-sighted" %> | |
|
118 | <%= select_tag "op[#{field}]", options_for_select(operators_for_select(options[:type]), | |
|
119 | query.operator_for(field)), :id => "operators_#{field}", | |
|
120 | :onchange => "toggle_operator('#{field}');" %> | |
|
118 | 121 | </td> |
|
119 | 122 | <td class="values"> |
|
120 | 123 | <div id="div_values_<%= field %>" style="display:none;"> |
@@ -29,10 +29,18 | |||
|
29 | 29 | |
|
30 | 30 | <fieldset><legend><%= l(:label_sort) %></legend> |
|
31 | 31 | <% 3.times do |i| %> |
|
32 | <%= i+1 %>: <%= select_tag("query[sort_criteria][#{i}][]", | |
|
33 | options_for_select([[]] + query.available_columns.select(&:sortable?).collect {|column| [column.caption, column.name.to_s]}, @query.sort_criteria_key(i))) %> | |
|
34 | <%= select_tag("query[sort_criteria][#{i}][]", | |
|
35 | options_for_select([[], [l(:label_ascending), 'asc'], [l(:label_descending), 'desc']], @query.sort_criteria_order(i))) %><br /> | |
|
32 | <%= i+1 %>: | |
|
33 | <%= label_tag "query_sort_criteria_attribute_" + i.to_s, | |
|
34 | l(:description_query_sort_criteria_attribute), :class => "hidden-for-sighted" %> | |
|
35 | <%= select_tag("query[sort_criteria][#{i}][]", | |
|
36 | options_for_select([[]] + query.available_columns.select(&:sortable?).collect {|column| [column.caption, column.name.to_s]}, @query.sort_criteria_key(i)), | |
|
37 | :id => "query_sort_criteria_attribute_" + i.to_s)%> | |
|
38 | <%= label_tag "query_sort_criteria_direction_" + i.to_s, | |
|
39 | l(:description_query_sort_criteria_direction), :class => "hidden-for-sighted" %> | |
|
40 | <%= select_tag("query[sort_criteria][#{i}][]", | |
|
41 | options_for_select([[], [l(:label_ascending), 'asc'], [l(:label_descending), 'desc']], @query.sort_criteria_order(i)), | |
|
42 | :id => "query_sort_criteria_direction_" + i.to_s) %> | |
|
43 | <br /> | |
|
36 | 44 | <% end %> |
|
37 | 45 | </fieldset> |
|
38 | 46 |
@@ -1000,6 +1000,11 de: | |||
|
1000 | 1000 | label_diff: diff |
|
1001 | 1001 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1002 | 1002 | |
|
1003 | description_filter: Filter | |
|
1003 | 1004 | description_search: Suchfeld |
|
1004 | 1005 | description_project_scope: Suchbereich |
|
1006 | description_query_sort_criteria_attribute: Sortierattribut | |
|
1007 | description_query_sort_criteria_direction: Sortierrichtung | |
|
1008 | description_available_columns: Verfügbare Spalten | |
|
1009 | description_selected_columns: Ausgewählte Spalten | |
|
1005 | 1010 |
@@ -978,5 +978,10 en: | |||
|
978 | 978 | enumeration_doc_categories: Document categories |
|
979 | 979 | enumeration_activities: Activities (time tracking) |
|
980 | 980 | enumeration_system_activity: System Activity |
|
981 | description_filter: Filter | |
|
981 | 982 | description_search: Searchfield |
|
982 | 983 | description_project_scope: Search scope |
|
984 | description_query_sort_criteria_attribute: Sort attribute | |
|
985 | description_query_sort_criteria_direction: Sort direction | |
|
986 | description_available_columns: Available Columns | |
|
987 | description_selected_columns: Selected Spalten |
General Comments 0
You need to be logged in to leave comments.
Login now