Commit ca029cf1ed38e022913bd90a5f4b08f5c38d7741
1 parent
f6a7c31e
Exists in
master
and in
1 other branch
Link request url
Showing
1 changed file
with
15 additions
and
13 deletions
Show diff stats
app/views/notices/_summary.html.haml
1 | -%table.summary | ||
2 | - %tr | ||
3 | - %th URL | ||
4 | - %td.main= notice.request['url'] | ||
5 | - %tr | ||
6 | - %th Where | ||
7 | - %td= notice.err.where | ||
8 | - %tr | ||
9 | - %th Occurred | ||
10 | - %td= notice.created_at.to_s(:micro) | ||
11 | - %tr | ||
12 | - %th Similar | ||
13 | - %td= notice.err.notices.count - 1 | ||
14 | \ No newline at end of file | 1 | \ No newline at end of file |
2 | +.window | ||
3 | + %table.summary | ||
4 | + - if notice.request['url'].present? | ||
5 | + %tr | ||
6 | + %th URL | ||
7 | + %td.main.nowrap= link_to notice.request['url'], notice.request['url'] | ||
8 | + %tr | ||
9 | + %th Where | ||
10 | + %td= notice.err.where | ||
11 | + %tr | ||
12 | + %th Occurred | ||
13 | + %td= notice.created_at.to_s(:micro) | ||
14 | + %tr | ||
15 | + %th Similar | ||
16 | + %td= notice.err.notices.count - 1 | ||
15 | \ No newline at end of file | 17 | \ No newline at end of file |