fixed issue#319
This commit is contained in:
parent
8ec86a27c4
commit
081a8e9825
|
@ -59,7 +59,7 @@ class IssuesController < ApplicationController
|
|||
sort_update(@query.sortable_columns)
|
||||
@query.sort_criteria = sort_criteria.to_a
|
||||
|
||||
@project_base_tag = (params[:project_id] || @issue.project)?'base_projects':'base'#by young
|
||||
@project_base_tag = (params[:project_id] || @issue.project) ? 'base_projects':'base'#by young
|
||||
|
||||
if @query.valid?
|
||||
case params[:format]
|
||||
|
@ -125,7 +125,7 @@ class IssuesController < ApplicationController
|
|||
@priorities = IssuePriority.active
|
||||
@time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project)
|
||||
|
||||
@project_base_tag = (params[:project_id] || @issue.project)?'base_projects':'base'#by young
|
||||
@project_base_tag = (params[:project_id] || @issue.project) ? 'base_projects':'base'#by young
|
||||
#by huang
|
||||
# @change_flag = (@issue.author == User.current) || (User.current.admin?)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<fieldset class="collapsible collapsed" style="padding-left: 50px;">
|
||||
<legend onclick="toggleFieldset(this);" style="font-size:12px;"><strong><%= l(:label_change_properties) %></strong></legend>
|
||||
<div class="splitcontent" style="display: none;">
|
||||
<div class="splitcontent" style="display: block;"> <!-- nyan -->
|
||||
<div class="splitcontentleft">
|
||||
<% if @issue.safe_attribute?('status_id') && @allowed_statuses.present? %>
|
||||
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), {:required => true},
|
||||
|
|
|
@ -158,6 +158,7 @@
|
|||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
<%=render :partial => 'layouts/base_footer'%>
|
||||
<%= debug(params) if Rails.env.development? %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -154,6 +154,7 @@
|
|||
|
||||
</div>
|
||||
<%= render :partial => 'layouts/base_footer'%>
|
||||
<%= debug(params) if Rails.env.development? %>
|
||||
</div>
|
||||
|
||||
<div id="ajax-indicator" style="display:none;">
|
||||
|
|
Loading…
Reference in New Issue