diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-07-13 00:19:47 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-07-16 02:38:27 +0300 |
commit | 2e9d53586874a83cea7e7d29a49bde1180e15829 (patch) | |
tree | 8118f6c65c9b610f143e34f8b6a1e8f252065ec4 /app/views/projects/services/_form.html.haml | |
parent | 2d96c66d63d480f24fd023fe73bf95e67d5ad257 (diff) |
Allow build email service to be tested
Diffstat (limited to 'app/views/projects/services/_form.html.haml')
-rw-r--r-- | app/views/projects/services/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml index 1f13ea28b4e..166dc4a01fc 100644 --- a/app/views/projects/services/_form.html.haml +++ b/app/views/projects/services/_form.html.haml @@ -12,5 +12,5 @@ - if @service.valid? && @service.activated? - disabled = @service.can_test? ? '':'disabled' - = link_to 'Test settings', test_namespace_project_service_path(@project.namespace, @project, @service.to_param), class: "btn #{disabled}" + = link_to 'Test settings', test_namespace_project_service_path(@project.namespace, @project, @service), class: "btn #{disabled}", title: @service.disabled_title = link_to "Cancel", namespace_project_services_path(@project.namespace, @project), class: "btn btn-cancel" |