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:
Jean-Philippe Lang
2012-08-09 17:12:24 +00:00
parent f1650b8ff4
commit e06bf0c464
2 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -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>