"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/views/timelog/_form.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.

_form.html.erb  (redmine-4.1.0):_form.html.erb  (redmine-4.1.1)
skipping to change at line 19 skipping to change at line 19
<% else %> <% else %>
<p><%= f.select :project_id, project_tree_options_for_select(Project.allowed _to(:log_time).to_a, :selected => @time_entry.project, :include_blank => true), :required => true %></p> <p><%= f.select :project_id, project_tree_options_for_select(Project.allowed _to(:log_time).to_a, :selected => @time_entry.project, :include_blank => true), :required => true %></p>
<% end %> <% end %>
<p> <p>
<%= f.text_field :issue_id, :size => 6, :required => Setting.timelog_require d_fields.include?('issue_id') %> <%= f.text_field :issue_id, :size => 6, :required => Setting.timelog_require d_fields.include?('issue_id') %>
<span id="time_entry_issue"> <span id="time_entry_issue">
<%= link_to_issue(@time_entry.issue) if @time_entry.issue.try(:visible?) %> <%= link_to_issue(@time_entry.issue) if @time_entry.issue.try(:visible?) %>
</span> </span>
</p> </p>
<% if User.current.allowed_to?(:log_time_for_other_users, @project) %> <% if User.current.allowed_to?(:log_time_for_other_users, @project) %>
<p><%= f.select :user_id, user_collection_for_select_options(@time_entry), : required => true %></p> <p><%= f.select :user_id, user_collection_for_select_options(@time_entry), : required => true %></p>
<% elsif !@time_entry.new_record? %>
<p>
<%= f.label_for_field :user_id %>
<span><%= link_to_user(@time_entry.user) %></span>
</p>
<% end %> <% end %>
<p><%= f.date_field :spent_on, :size => 10, :required => true %><%= calendar_f or('time_entry_spent_on') %></p> <p><%= f.date_field :spent_on, :size => 10, :required => true %><%= calendar_f or('time_entry_spent_on') %></p>
<p><%= f.hours_field :hours, :size => 6, :required => true %></p> <p><%= f.hours_field :hours, :size => 6, :required => true %></p>
<p><%= f.text_field :comments, :size => 100, :maxlength => 1024, :required => Setting.timelog_required_fields.include?('comments') %></p> <p><%= f.text_field :comments, :size => 100, :maxlength => 1024, :required => Setting.timelog_required_fields.include?('comments') %></p>
<p><%= f.select :activity_id, activity_collection_for_select_options(@time_ent ry), :required => true %></p> <p><%= f.select :activity_id, activity_collection_for_select_options(@time_ent ry), :required => true %></p>
<% @time_entry.editable_custom_field_values.each do |value| %> <% @time_entry.editable_custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :time_entry, value %></p> <p><%= custom_field_tag_with_label :time_entry, value %></p>
<% end %> <% end %>
<%= call_hook(:view_timelog_edit_form_bottom, { :time_entry => @time_entry, :f orm => f }) %> <%= call_hook(:view_timelog_edit_form_bottom, { :time_entry => @time_entry, :f orm => f }) %>
</div> </div>
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

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