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
bb334986
Commit
bb334986
authored
Oct 22, 2020
by
Jose Vargas
Committed by
Adrien Kohlbecker
Nov 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add expand_runners variable
This allows the corresponding settings section to remain uncollapsed
parent
0fd3a912
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/runners/_specific_runners.html.haml
app/views/projects/runners/_specific_runners.html.haml
+1
-1
app/views/projects/settings/ci_cd/show.html.haml
app/views/projects/settings/ci_cd/show.html.haml
+1
-1
No files found.
app/views/projects/runners/_specific_runners.html.haml
View file @
bb334986
...
...
@@ -17,7 +17,7 @@
%h4
.underlined-title
=
_
(
'Runners activated for this project'
)
%ul
.bordered-list.activated-specific-runners
=
render
partial:
'projects/runners/runner'
,
collection:
@project_runners
,
as: :runner
=
paginate
@project_runners
,
theme:
"gitlab"
,
:params
=>
{
:anchor
=>
'#js-runners-settings'
}
=
paginate
@project_runners
,
theme:
"gitlab"
,
params:
{
expand_runners:
true
,
anchor:
'#js-runners-settings'
}
-
if
@assignable_runners
.
any?
%h4
.underlined-title
=
_
(
'Available specific runners'
)
...
...
app/views/projects/settings/ci_cd/show.html.haml
View file @
bb334986
...
...
@@ -33,7 +33,7 @@
=
render_if_exists
'projects/settings/ci_cd/protected_environments'
,
expanded:
expanded
%section
.settings.no-animate
#js-runners-settings
{
class:
(
'expanded'
if
expanded
),
data:
{
qa_selector:
'runners_settings_content'
}
}
%section
.settings.no-animate
#js-runners-settings
{
class:
(
'expanded'
if
expanded
||
params
[
:expand_runners
]
),
data:
{
qa_selector:
'runners_settings_content'
}
}
.settings-header
%h4
=
_
(
"Runners"
)
...
...
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