Don't show the project dropdown when logging time on an issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10183 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<div class="box tabular">
|
||||
<% if @time_entry.new_record? %>
|
||||
<% if params[:project_id] %>
|
||||
<% if params[:project_id] || @time_entry.issue %>
|
||||
<%= f.hidden_field :project_id %>
|
||||
<% else %>
|
||||
<p><%= f.select :project_id, project_tree_options_for_select(Project.allowed_to(:log_time).all, :selected => @time_entry.project), :required => true %></p>
|
||||
|
||||
Reference in New Issue
Block a user