mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Remove duplicate notices
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user