1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-08 16:41:31 +00:00

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
This commit is contained in:
Go MAEDA 2020-06-18 02:49:30 +00:00
parent 60767ffb18
commit 2b92d02e57
3 changed files with 6 additions and 1 deletions

View File

@ -32,6 +32,10 @@
<% content_for :sidebar do %>
<%= form_tag({}, :method => :get, :id => 'activity_scope_form') do %>
<h3><%= l(:label_activity) %></h3>
<p>
<%= t(:label_days_to_html, :days => @days, :date => date_field_tag('from', '', :value => (@date_to - 1), :size => 10)) %>
<%= calendar_for('from') %>
</p>
<ul>
<% @activity.event_types.each do |t| %>
<li>
@ -48,7 +52,6 @@
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
<% end %>
<%= hidden_field_tag('user_id', params[:user_id]) unless params[:user_id].blank? %>
<%= hidden_field_tag('from', params[:from]) unless params[:from].blank? %>
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => 'submit' %></p>
<% end %>
<% end %>

View File

@ -945,6 +945,7 @@ en:
label_ascending: Ascending
label_descending: Descending
label_date_from_to: From %{start} to %{end}
label_days_to_html: "%{days} days up to %{date}"
label_wiki_content_added: Wiki page added
label_wiki_content_updated: Wiki page updated
label_group: Group

View File

@ -793,6 +793,7 @@ ja:
label_ascending: 昇順
label_descending: 降順
label_date_from_to: "%{start}から%{end}まで"
label_days_to_html: "%{date} までの%{days}日間"
label_wiki_content_added: Wikiページの追加
label_wiki_content_updated: Wikiページの更新
label_group: グループ