Commit 22c9e9685f85adc5b6d6c1921fd66530c84b9ff5

Authored by leizzer
1 parent 8528b63b
Exists in master and in 1 other branch production

Adding css for resolved problems to make it easy to identify solved problems in show view

app/assets/stylesheets/errbit.css
@@ -173,6 +173,10 @@ a.action { float: right; font-size: 0.9em;} @@ -173,6 +173,10 @@ a.action { float: right; font-size: 0.9em;}
173 padding: 43px 24px 37px; 173 padding: 43px 24px 37px;
174 } 174 }
175 175
  176 +#content-title.err_show.resolved{
  177 + background-color: #90EE90;
  178 +}
  179 +
176 #content-comments { 180 #content-comments {
177 background-color: #ffffff; 181 background-color: #ffffff;
178 } 182 }
app/views/problems/show.html.haml
1 - content_for :page_title, problem.message 1 - content_for :page_title, problem.message
2 -- content_for :title_css_class, 'err_show' 2 +- content_for :title_css_class, "err_show #{'resolved' if problem.resolved?}"
3 - content_for :title, problem.error_class || truncate(problem.message, :length => 32) 3 - content_for :title, problem.error_class || truncate(problem.message, :length => 32)
4 - content_for :meta do 4 - content_for :meta do
5 %strong App: 5 %strong App: