[WIP] - add custom notification for scan jobs#326
Conversation
| :links => [{ | ||
| :path_method => :job_invocation_path, | ||
| :title => _('Job Details') | ||
| }] |
There was a problem hiding this comment.
Indent the right brace the same as the start of the line where the left brace is.
| subject, | ||
| { | ||
| :links => [{ | ||
| :path_method => :job_invocation_path, |
There was a problem hiding this comment.
Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.
| :links => [{ | ||
| :path_method => :host_path, | ||
| :title => _('Scanned Host') | ||
| }] |
There was a problem hiding this comment.
Indent the right brace the same as the start of the line where the left brace is.
| subject.template_invocations_hosts.first, | ||
| { | ||
| :links => [{ | ||
| :path_method => :host_path, |
There was a problem hiding this comment.
Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.
| :links => [{ | ||
| :path_method => :job_invocation_path, | ||
| :title => _('Job Details') | ||
| }] |
There was a problem hiding this comment.
Indent the right brace the same as the start of the line where the left brace is.
| subject, | ||
| { | ||
| :links => [{ | ||
| :path_method => :job_invocation_path, |
There was a problem hiding this comment.
Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.
| :links => [{ | ||
| :path_method => :host_path, | ||
| :title => _('Scanned Host') | ||
| }] |
There was a problem hiding this comment.
Indent the right brace the same as the start of the line where the left brace is.
| subject.template_invocations_hosts.first, | ||
| { | ||
| :links => [{ | ||
| :path_method => :host_path, |
There was a problem hiding this comment.
Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.
|
@ares do we still want this? |
No description provided.