美化项目工具栏样式显示

修复当缺陷列表为空时缺陷列表样式显示异常
This commit is contained in:
sw 2014-11-20 11:16:58 +08:00
parent 0e409445cc
commit eb15db64ee
3 changed files with 4 additions and 6 deletions

View File

@ -59,10 +59,8 @@ class IssuesController < ApplicationController
sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria)
sort_update(@query.sortable_columns)
@query.sort_criteria = sort_criteria.to_a
if @issue
@project_base_tag = (params[:project_id] || @issue.project) ? 'base_projects':'base'
end
@project_base_tag = (params[:project_id] || @issue.project) ? 'base_projects':'base'
if @query.valid?
case params[:format]

View File

@ -133,7 +133,7 @@
</div>
<div id="content">
<div class="tabs_new">
<%= render_main_menu(@project) %>
<%= render_main_menu(@project) %>
</div>
<%= render_flash_messages %>
<%= yield %>

View File

@ -2179,7 +2179,7 @@ button.tab-right {
padding-bottom: 2px;
text-align: center;
border: 1px solid #15BCCF;
/*border-bottom: 0px solid #15BCCF;*/
border-bottom: 0px solid #15BCCF;
color:#606060;
font-weight:bold;