From a8d160860321abc5b7227b4c56ea6bad67ed7437 Mon Sep 17 00:00:00 2001 From: yanxd Date: Tue, 25 Mar 2014 14:40:21 +0800 Subject: [PATCH] nil --- app/models/issue.rb | 2 +- public/stylesheets/nyan.css | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index d28fe6edc..1ea358a37 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -19,7 +19,7 @@ class Issue < ActiveRecord::Base include Redmine::SafeAttributes include Redmine::Utils::DateCalculation - belongs_to :project, :counter_cache => true + belongs_to :project belongs_to :tracker belongs_to :status, :class_name => 'IssueStatus', :foreign_key => 'status_id' belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' diff --git a/public/stylesheets/nyan.css b/public/stylesheets/nyan.css index f89783318..6e62c1fee 100644 --- a/public/stylesheets/nyan.css +++ b/public/stylesheets/nyan.css @@ -571,3 +571,18 @@ input.blueinputbar:focus { .courses_history a { color: #666; } + +/* issue div.issues +*******************************************************************************/ +div.issue{ + background: none repeat scroll 0 0 #FFFFEC; + /*border: none;*/ + margin-bottom: 6px; + padding: 10; + border-radius: 3px; +/* -moz-box-shadow: 3px 3px 10px rgba(100,150,205,0.1); + -webkit-box-shadow: 3px 3px 10px rgba(100,150,205,0.1); + box-shadow: 3px 3px 10px rgba(100,150,205,0.1);*/ +} + +