Commit bd13e09060845b9676b5913fe50af3a897aafdff
1 parent
80789d35
Exists in
master
and in
1 other branch
Updating Gitlab Integration for New API (v3)
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,17 @@ |
| 1 | +[See this exception on Errbit](<%= app_problem_url problem.app, problem %> "See this exception on Errbit") | |
| 2 | +<% if notice = problem.notices.first %> | |
| 3 | +# <%= notice.message %> # | |
| 4 | +## Summary ## | |
| 5 | +<% if notice.request['url'].present? %> | |
| 6 | + ### URL ### | |
| 7 | + [<%= notice.request['url'] %>](<%= notice.request['url'] %>)" | |
| 8 | +<% end %> | |
| 9 | +### Where ### | |
| 10 | +<%= notice.where %> | |
| 11 | + | |
| 12 | +### Occured ### | |
| 13 | +<%= notice.created_at.to_s(:micro) %> | |
| 14 | + | |
| 15 | +### Similar ### | |
| 16 | +<%= (notice.problem.notices_count - 1).to_s %> | |
| 17 | +<% end %> | |
| 0 | 18 | \ No newline at end of file | ... | ... |