diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index 64f7f6a85..ce5287e35 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -32,6 +32,10 @@ <% content_for :sidebar do %> <%= form_tag({}, :method => :get, :id => 'activity_scope_form') do %>
+ <%= l(:label_days_to, :days => @days, :date => date_field_tag('from', '', :value => (@date_to-1), :size => 10)).html_safe %> + <%= calendar_for('from') %> +
<%= submit_tag l(:button_apply), :class => 'button-small', :name => 'submit' %>
<% end %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 7bb506c57..15fcd2213 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -942,6 +942,7 @@ en: label_ascending: Ascending label_descending: Descending label_date_from_to: From %{start} to %{end} + label_days_to: "%{days} days to %{date}" label_wiki_content_added: Wiki page added label_wiki_content_updated: Wiki page updated label_group: Group