Commit b9d5ea843c2a26a0958e14538e3b8896f31ca181

Authored by Jared Pace
1 parent 6e0b1eff
Exists in master and in 1 other branch production

Display env below app name - force wrap on err messages

app/views/errs/_table.html.haml
1 1 %table.errs
2 2 %thead
3 3 %tr
4   - %th
5   - - unless @app
6   - %th App
  4 + %th App
7 5 %th What & Where
8 6 %th Latest
9 7 %th Deploy
... ... @@ -11,10 +9,9 @@
11 9 %tbody
12 10 - errs.each do |err|
13 11 %tr
14   - %td.environment
15   - %abbr{:title => err.environment}= err.environment.chars.first.upcase
16   - - unless @app
17   - %td.app= err.app.name
  12 + %td.app
  13 + = err.app.name
  14 + %span.environment= err.environment
18 15 %td.message
19 16 = link_to err.message, app_err_path(err.app, err)
20 17 %em= err.where
... ...
public/stylesheets/application.css
... ... @@ -378,8 +378,17 @@ td.count {
378 378 }
379 379  
380 380 /* Err Tables */
  381 +table.errs td.app {
  382 + padding-right: 2em;
  383 +}
  384 +table.errs td.app .environment {
  385 + font-size: 0.8em;
  386 + color: #999;
  387 +}
381 388 table.errs td.message a {
  389 + width: 470px;
382 390 display: block;
  391 + word-wrap: break-word;
383 392 }
384 393 table.errs td.message em {
385 394 color: #727272;
... ...