Commit 9fdddb390debd1fc1a759a99a6fdb93f9cfb66da
1 parent
f45f759b
Exists in
master
and in
1 other branch
Make all err counts be linked badges
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
app/views/errs/_table.html.haml
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | %em= err.where | 20 | %em= err.where |
21 | %td.latest #{time_ago_in_words(err.last_notice_at)} ago | 21 | %td.latest #{time_ago_in_words(err.last_notice_at)} ago |
22 | %td.deploy= err.app.last_deploy_at ? err.app.last_deploy_at.to_s(:micro) : 'n/a' | 22 | %td.deploy= err.app.last_deploy_at ? err.app.last_deploy_at.to_s(:micro) : 'n/a' |
23 | - %td.count= err.notices.count | 23 | + %td.count= link_to err.notices.count, app_err_path(err.app, err) |
24 | - if errs.none? | 24 | - if errs.none? |
25 | %tr | 25 | %tr |
26 | %td{:colspan => (@app ? 5 : 6)} | 26 | %td{:colspan => (@app ? 5 : 6)} |
public/stylesheets/application.css
@@ -309,9 +309,15 @@ td.count { | @@ -309,9 +309,15 @@ td.count { | ||
309 | -moz-border-radius: 18px; | 309 | -moz-border-radius: 18px; |
310 | -webkit-border-radius: 18px; | 310 | -webkit-border-radius: 18px; |
311 | font-weight: bold; | 311 | font-weight: bold; |
312 | + opacity: 0.8; | ||
313 | + -moz-opacity: 0.8; | ||
314 | + -webkit-opacity: 0.8 | ||
312 | } | 315 | } |
313 | .count a:hover { | 316 | .count a:hover { |
314 | text-decoration: none; | 317 | text-decoration: none; |
318 | + opacity: 1; | ||
319 | + -moz-opacity: 1; | ||
320 | + -webkit-opacity: 1; | ||
315 | } | 321 | } |
316 | 322 | ||
317 | /* Err Tables */ | 323 | /* Err Tables */ |