Visual hint for closed projects on project list (#3640).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9885 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8334651c4d
commit
7fb2ddefde
|
@ -74,7 +74,7 @@ module ProjectsHelper
|
||||||
end
|
end
|
||||||
classes = (ancestors.empty? ? 'root' : 'child')
|
classes = (ancestors.empty? ? 'root' : 'child')
|
||||||
s << "<li class='#{classes}'><div class='#{classes}'>" +
|
s << "<li class='#{classes}'><div class='#{classes}'>" +
|
||||||
link_to_project(project, {}, :class => "project #{User.current.member_of?(project) ? 'my-project' : nil}")
|
link_to_project(project, {}, :class => "#{project.css_classes} #{User.current.member_of?(project) ? 'my-project' : nil}")
|
||||||
s << "<div class='wiki description'>#{textilizable(project.short_description, :project => project)}</div>" unless project.description.blank?
|
s << "<div class='wiki description'>#{textilizable(project.short_description, :project => project)}</div>" unless project.description.blank?
|
||||||
s << "</div>\n"
|
s << "</div>\n"
|
||||||
ancestors << project
|
ancestors << project
|
||||||
|
|
|
@ -108,6 +108,7 @@ a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
|
||||||
a img{ border: 0; }
|
a img{ border: 0; }
|
||||||
|
|
||||||
a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
|
a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
|
||||||
|
a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
|
||||||
|
|
||||||
#sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px; -moz-border-radius:2px;}
|
#sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px; -moz-border-radius:2px;}
|
||||||
#sidebar a.selected:hover {text-decoration:none;}
|
#sidebar a.selected:hover {text-decoration:none;}
|
||||||
|
@ -130,6 +131,8 @@ table.list td.buttons a { padding-right: 0.6em; }
|
||||||
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
||||||
|
|
||||||
tr.project td.name a { white-space:nowrap; }
|
tr.project td.name a { white-space:nowrap; }
|
||||||
|
tr.project.closed, tr.project.archived { color: #aaa; }
|
||||||
|
tr.project.closed a, tr.project.archived a { color: #aaa; }
|
||||||
|
|
||||||
tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
|
tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
|
||||||
tr.project.idnt-1 td.name {padding-left: 0.5em;}
|
tr.project.idnt-1 td.name {padding-left: 0.5em;}
|
||||||
|
|
Loading…
Reference in New Issue