Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-07-13 00:19:47 +0300
committerFelipe Artur <felipefac@gmail.com>2016-07-16 02:38:27 +0300
commit2e9d53586874a83cea7e7d29a49bde1180e15829 (patch)
tree8118f6c65c9b610f143e34f8b6a1e8f252065ec4 /app/views/projects/services/_form.html.haml
parent2d96c66d63d480f24fd023fe73bf95e67d5ad257 (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.haml2
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 @@
&nbsp;
- 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"