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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
7fe9102a
Commit
7fe9102a
authored
Apr 24, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix jobs spec
parent
08f1ce90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/build_variables.js
app/assets/javascripts/build_variables.js
+1
-1
app/assets/javascripts/jobs/components/header.vue
app/assets/javascripts/jobs/components/header.vue
+1
-1
app/views/projects/jobs/_sidebar.html.haml
app/views/projects/jobs/_sidebar.html.haml
+1
-1
No files found.
app/assets/javascripts/build_variables.js
View file @
7fe9102a
...
@@ -4,7 +4,7 @@ export default function handleRevealVariables() {
...
@@ -4,7 +4,7 @@ export default function handleRevealVariables() {
$
(
'
.js-reveal-variables
'
)
$
(
'
.js-reveal-variables
'
)
.
off
(
'
click
'
)
.
off
(
'
click
'
)
.
on
(
'
click
'
,
function
click
()
{
.
on
(
'
click
'
,
function
click
()
{
$
(
'
.js-build-variables
'
).
toggle
(
'
hide
'
);
$
(
'
.js-build-variables
'
).
toggle
();
$
(
this
).
hide
();
$
(
this
).
hide
();
});
});
}
}
app/assets/javascripts/jobs/components/header.vue
View file @
7fe9102a
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
actions
.
push
({
actions
.
push
({
label
:
'
New issue
'
,
label
:
'
New issue
'
,
path
:
this
.
job
.
new_issue_path
,
path
:
this
.
job
.
new_issue_path
,
cssClass
:
'
js-new-issue btn btn-new btn-inverted d-
block d-lg-none d-xl-none
'
,
cssClass
:
'
js-new-issue btn btn-new btn-inverted d-
none d-md-block d-lg-block d-xl-block
'
,
type
:
'
link
'
,
type
:
'
link
'
,
});
});
}
}
...
...
app/views/projects/jobs/_sidebar.html.haml
View file @
7fe9102a
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
-
if
@build
.
trigger_variables
.
any?
-
if
@build
.
trigger_variables
.
any?
%p
%p
%button
.btn.group.btn-group.
d-flex.
js-reveal-variables
Reveal Variables
%button
.btn.group.btn-group.js-reveal-variables
Reveal Variables
%dl
.js-build-variables.trigger-build-variables.hide
%dl
.js-build-variables.trigger-build-variables.hide
-
@build
.
trigger_variables
.
each
do
|
trigger_variable
|
-
@build
.
trigger_variables
.
each
do
|
trigger_variable
|
...
...
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