Commit 9ab86ab582946973c113a68a9da657e348a8a2f4
1 parent
ce442af9
Exists in
master
and in
1 other branch
Format times for deploys
Showing
3 changed files
with
8 additions
and
13 deletions
Show diff stats
app/views/errs/_table.html.haml
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | = link_to err.message, project_err_path(err.project, err) |
20 | 20 | %em= err.where |
21 | 21 | %td.latest #{time_ago_in_words(err.last_notice_at)} ago |
22 | - %td.deploy= err.project.last_deploy_at ? err.project.last_deploy_at.to_date.to_s(:micro) : 'n/a' | |
22 | + %td.deploy= err.project.last_deploy_at ? err.project.last_deploy_at.to_s(:micro) : 'n/a' | |
23 | 23 | %td.count= err.notices.count |
24 | 24 | - if errs.none? |
25 | 25 | %tr | ... | ... |
public/stylesheets/application.css
... | ... | @@ -172,27 +172,21 @@ pre { |
172 | 172 | .html ol li { margin-bottom: 0.5em; list-style: decimal; } |
173 | 173 | |
174 | 174 | /* Projects Table */ |
175 | -table.projects td.name { | |
175 | +table.projects td.name, table.errs td.message { | |
176 | 176 | width: 100%; |
177 | 177 | } |
178 | -table.projects td.deploy { | |
179 | - white-space: no-wrap; | |
178 | +td.deploy { | |
179 | + white-space: nowrap; | |
180 | +} | |
181 | +td.latest { | |
182 | + white-space: nowrap; | |
180 | 183 | } |
181 | 184 | |
182 | 185 | /* Err Tables */ |
183 | -table.errs td.message { | |
184 | - width: 100%; | |
185 | -} | |
186 | 186 | table.errs td.message a { |
187 | 187 | display: block; |
188 | 188 | } |
189 | 189 | table.errs td.message em { |
190 | 190 | color: #727272; |
191 | 191 | font-size: 0.9em; |
192 | -} | |
193 | -table.errs td.latest { | |
194 | - white-space: nowrap; | |
195 | -} | |
196 | -table.errs td.deploy { | |
197 | - white-space: nowrap; | |
198 | 192 | } |
199 | 193 | \ No newline at end of file | ... | ... |