fixed issue#319

This commit is contained in:
yanxd 2013-10-17 10:31:41 +08:00
parent 8ec86a27c4
commit 081a8e9825
4 changed files with 5 additions and 3 deletions

View File

@ -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?)

View File

@ -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},

View File

@ -158,6 +158,7 @@
<div style="clear:both;"></div>
</div>
<%=render :partial => 'layouts/base_footer'%>
<%= debug(params) if Rails.env.development? %>
</div>
</div>
</div>

View File

@ -154,6 +154,7 @@
</div>
<%= render :partial => 'layouts/base_footer'%>
<%= debug(params) if Rails.env.development? %>
</div>
<div id="ajax-indicator" style="display:none;">