diff --git a/app/views/issue_trackers/gitlab_summary.txt.erb b/app/views/issue_trackers/gitlab_summary.txt.erb new file mode 100644 index 0000000..8e7c6f0 --- /dev/null +++ b/app/views/issue_trackers/gitlab_summary.txt.erb @@ -0,0 +1,17 @@ +[See this exception on Errbit](<%= app_problem_url problem.app, problem %> "See this exception on Errbit") +<% if notice = problem.notices.first %> +# <%= notice.message %> # +## Summary ## +<% if notice.request['url'].present? %> + ### URL ### + [<%= notice.request['url'] %>](<%= notice.request['url'] %>)" +<% end %> +### Where ### +<%= notice.where %> + +### Occured ### +<%= notice.created_at.to_s(:micro) %> + +### Similar ### +<%= (notice.problem.notices_count - 1).to_s %> +<% end %> \ No newline at end of file -- libgit2 0.21.2