Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f12faf29
Commit
f12faf29
authored
Mar 08, 2020
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix partial local variable
- Remove unneeded space character - Remove console.log
parent
6a25b9c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
app/assets/javascripts/pages/admin/integrations/edit/index.js
...assets/javascripts/pages/admin/integrations/edit/index.js
+0
-1
app/views/admin/integrations/_form.html.haml
app/views/admin/integrations/_form.html.haml
+0
-1
app/views/shared/_service_settings.html.haml
app/views/shared/_service_settings.html.haml
+1
-1
No files found.
app/assets/javascripts/pages/admin/integrations/edit/index.js
View file @
f12faf29
...
...
@@ -5,7 +5,6 @@ import initAlertsSettings from '~/alerts_service_settings';
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
prometheusSettingsWrapper
=
document
.
querySelector
(
'
.js-prometheus-metrics-monitoring
'
);
const
integrationSettingsForm
=
new
IntegrationSettingsForm
(
'
.js-integration-settings-form
'
);
console
.
log
(
integrationSettingsForm
);
integrationSettingsForm
.
init
();
if
(
prometheusSettingsWrapper
)
{
...
...
app/views/admin/integrations/_form.html.haml
View file @
f12faf29
...
...
@@ -9,5 +9,4 @@
-
if
@service
.
editable?
.footer-block.row-content-block
=
service_save_button
(
@service
)
=
link_to
_
(
'Cancel'
),
admin_application_settings_integration_path
,
class:
'btn btn-cancel'
app/views/shared/_service_settings.html.haml
View file @
f12faf29
=
form_errors
(
@service
)
-
if
lookup_context
.
template_exists?
(
'help'
,
"projects/services/
#{
@service
.
to_param
}
"
,
true
)
=
render
"projects/services/
#{
@service
.
to_param
}
/help"
,
subject:
subject
=
render
"projects/services/
#{
@service
.
to_param
}
/help"
,
subject:
@service
-
elsif
@service
.
help
.
present?
.info-well
.well-segment
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment