Project

General

Profile

Feature #1422 » feature-1422.patch

Mizuki ISHIKAWA, 2020-03-17 08:51

View differences:

app/views/activities/index.html.erb
<% content_for :sidebar do %>
<%= form_tag({}, :method => :get, :id => 'activity_scope_form') do %>
<h3><%= l(:label_activity) %></h3>
<p>
<%= l(:label_days_to, :days => @days, :date => date_field_tag('from', '', :value => (@date_to-1), :size => 10)).html_safe %>
<%= calendar_for('from') %>
</p>
<ul>
<% @activity.event_types.each do |t| %>
<li>
......
<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 %>
config/locales/en.yml
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
(5-5/7)