From 2b92d02e5755af4b572c6537b4aabe9c35eb8852 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 18 Jun 2020 02:49:30 +0000 Subject: [PATCH] Date selection for Activity page (#1422). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19828 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/activities/index.html.erb | 5 ++++- config/locales/en.yml | 1 + config/locales/ja.yml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index 64f7f6a85..f71266004 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_activity) %>

+

+ <%= t(:label_days_to_html, :days => @days, :date => date_field_tag('from', '', :value => (@date_to - 1), :size => 10)) %> + <%= calendar_for('from') %> +