"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/views/imports/_time_entries_fields_mapping.html.erb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

_time_entries_fields_mapping.html.erb  (redmine-4.1.0):_time_entries_fields_mapping.html.erb  (redmine-4.1.1)
skipping to change at line 14 skipping to change at line 14
options_for_select(project_tree_options_for_select(@import.allowed_targe t_projects, :selected => @import.project)), options_for_select(project_tree_options_for_select(@import.allowed_targe t_projects, :selected => @import.project)),
:id => 'import_mapping_project_id' %> :id => 'import_mapping_project_id' %>
</p> </p>
<p> <p>
<label for="import_mapping_activity"><%= l(:field_activity) %></label> <label for="import_mapping_activity"><%= l(:field_activity) %></label>
<%= mapping_select_tag @import, 'activity', :required => true, <%= mapping_select_tag @import, 'activity', :required => true,
:values => @import.allowed_target_activities.sorted.map {|t| [t.name, t. id]} %> :values => @import.allowed_target_activities.sorted.map {|t| [t.name, t. id]} %>
</p> </p>
<div class="splitcontent"> <div class="splitcontent">
<div class="splitcontentleft"> <div class="splitcontentleft">
<% if User.current.allowed_to?(:log_time_for_other_users, @import.project) %> <% if User.current.allowed_to?(:log_time_for_other_users, @import.project) %>
<p>
<label for="import_mapping_user_id"><%= l(:field_user) %></label>
<%= mapping_select_tag @import, 'user_id', :required => true,
:values => @import.allowed_target_users.map {|u| [u.name, u.id]}, :d
efault_value => "value:#{User.current.id}" %>
</p>
<% end %>
<p> <p>
<label for="import_mapping_user_id"><%= l(:field_user) %></label> <label for="import_mapping_issue_id"><%= l(:field_issue) %></label>
<%= mapping_select_tag @import, 'user_id', :required => true, <%= mapping_select_tag @import, 'issue_id' %>
:values => @import.allowed_target_users.map {|u| [u.name, u.id]}, :def </p>
ault_value => "value:#{User.current.id}" %> <p>
<label for="import_mapping_spent_on"><%= l(:field_spent_on) %></label>
<%= mapping_select_tag @import, 'spent_on', :required => true %>
</p> </p>
<% end %>
<p>
<label for="import_mapping_issue_id"><%= l(:field_issue) %></label>
<%= mapping_select_tag @import, 'issue_id' %>
</p>
<p>
<label for="import_mapping_spent_on"><%= l(:field_spent_on) %></label>
<%= mapping_select_tag @import, 'spent_on', :required => true %>
</p>
<p>
<label for="import_mapping_hours"><%= l(:field_hours) %></label>
<%= mapping_select_tag @import, 'hours', :required => true %>
</p>
<p>
<label for="import_mapping_comments"><%= l(:field_comments) %></label>
<%= mapping_select_tag @import, 'comments' %>
</p>
</div>
<div class="splitcontentright">
<% @custom_fields.each do |field| %>
<p> <p>
<label for="import_mapping_cf_<%= field.id %>"><%= field.name %></label> <label for="import_mapping_hours"><%= l(:field_hours) %></label>
<%= mapping_select_tag @import, "cf_#{field.id}", :required => field.is_requ <%= mapping_select_tag @import, 'hours', :required => true %>
ired? %>
</p> </p>
<% end %> <p>
<label for="import_mapping_comments"><%= l(:field_comments) %></label>
<%= mapping_select_tag @import, 'comments' %>
</p>
</div>
<div class="splitcontentright">
<% @custom_fields.each do |field| %>
<p>
<label for="import_mapping_cf_<%= field.id %>"><%= field.name %></label>
<%= mapping_select_tag @import, "cf_#{field.id}", :required => field.is_re
quired? %>
</p>
<% end %>
</div>
</div> </div>
 End of changes. 5 change blocks. 
31 lines changed or deleted 32 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)