Added missing labels to the Issue Calendar.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3746 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-05-24 18:07:43 +00:00
parent 908d44519c
commit 51d3f51159
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@
</p> </p>
<p class="buttons"> <p class="buttons">
<%= label_tag('month', l(:label_month)) %>
<%= select_month(@month, :prefix => "month", :discard_type => true) %> <%= select_month(@month, :prefix => "month", :discard_type => true) %>
<%= label_tag('year', l(:label_year)) %>
<%= select_year(@year, :prefix => "year", :discard_type => true) %> <%= select_year(@year, :prefix => "year", :discard_type => true) %>
<%= link_to_remote l(:button_apply), <%= link_to_remote l(:button_apply),

View File

@ -94,7 +94,7 @@ function toggle_multi_select(field) {
</table> </table>
</td> </td>
<td class="add-filter"> <td class="add-filter">
<%= l(:label_filter_add) %>: <%= label_tag('add_filter_select', l(:label_filter_add)) %>:
<%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact), <%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact),
:onchange => "add_filter();", :onchange => "add_filter();",
:class => "select-small", :class => "select-small",