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
b06f7a03
Commit
b06f7a03
authored
Mar 13, 2020
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update link to edit integration
- Fix breadcrumb on the edit page to link back to listing page
parent
5e5cdaec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
app/helpers/services_helper.rb
app/helpers/services_helper.rb
+4
-0
app/views/admin/integrations/edit.html.haml
app/views/admin/integrations/edit.html.haml
+1
-1
app/views/projects/services/_integrations.html.haml
app/views/projects/services/_integrations.html.haml
+1
-1
No files found.
app/helpers/services_helper.rb
View file @
b06f7a03
...
...
@@ -62,6 +62,10 @@ module ServicesHelper
!
current_controller?
(
"admin/services"
)
&&
service
.
deprecated?
end
def
edit_integration_path
(
integration
)
edit_admin_application_settings_integration_path
(
integration
)
end
extend
self
end
...
...
app/views/admin/integrations/edit.html.haml
View file @
b06f7a03
-
add_to_breadcrumbs
_
(
'Integrations'
),
admin_application_settings_integration
_path
-
add_to_breadcrumbs
_
(
'Integrations'
),
integrations_admin_application_settings
_path
-
breadcrumb_title
@service
.
title
-
page_title
@service
.
title
,
_
(
'Integrations'
)
...
...
app/views/projects/services/_integrations.html.haml
View file @
b06f7a03
...
...
@@ -17,7 +17,7 @@
%td
{
role:
'cell'
,
'aria-colindex'
:
1
}
=
boolean_to_icon
integration
.
activated?
%td
{
role:
'cell'
,
'aria-colindex'
:
2
}
=
link_to
'#'
do
=
link_to
edit_integration_path
(
integration
)
do
%strong
=
integration
.
title
%td
.d-none.d-sm-block
{
role:
'cell'
,
'aria-colindex'
:
3
}
=
integration
.
description
...
...
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