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:
-rw-r--r--app/controllers/ci/services_controller.rb2
-rw-r--r--app/views/layouts/ci/_info.html.haml6
2 files changed, 1 insertions, 7 deletions
diff --git a/app/controllers/ci/services_controller.rb b/app/controllers/ci/services_controller.rb
index e99f40f3a0a..42ffd41fe42 100644
--- a/app/controllers/ci/services_controller.rb
+++ b/app/controllers/ci/services_controller.rb
@@ -20,7 +20,7 @@ module Ci
def update
if @service.update_attributes(service_params)
- redirect_to edit_ci_project_service_path(@project, @service.to_param), notice: 'Service was successfully updated.'
+ redirect_to edit_ci_project_service_path(@project, @service.to_param)
else
render 'edit'
end
diff --git a/app/views/layouts/ci/_info.html.haml b/app/views/layouts/ci/_info.html.haml
index 9bc23cfad05..f7230f44242 100644
--- a/app/views/layouts/ci/_info.html.haml
+++ b/app/views/layouts/ci/_info.html.haml
@@ -1,9 +1,3 @@
.container
- - if alert || notice
- - if alert
- .alert.alert-danger= alert
- - if notice
- .alert.alert-info= notice
-
- if current_user && current_user.is_admin? && Ci::Runner.count.zero?
= render 'ci/shared/no_runners'