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
341a359e
Commit
341a359e
authored
Apr 24, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use class hide instead of d-none and hidden
parent
bcb3250f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/build_variables.js
app/assets/javascripts/build_variables.js
+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 @
341a359e
...
...
@@ -4,7 +4,7 @@ export default function handleRevealVariables() {
$
(
'
.js-reveal-variables
'
)
.
off
(
'
click
'
)
.
on
(
'
click
'
,
function
click
()
{
$
(
'
.js-build-variables
'
).
toggle
Class
(
'
hidden
'
);
$
(
'
.js-build-variables
'
).
toggle
(
'
hide
'
);
$
(
this
).
hide
();
});
}
app/views/projects/jobs/_sidebar.html.haml
View file @
341a359e
...
...
@@ -44,7 +44,7 @@
%p
%button
.btn.group.btn-group.d-flex.js-reveal-variables
Reveal Variables
%dl
.js-build-variables.trigger-build-variables.
d-non
e
%dl
.js-build-variables.trigger-build-variables.
hid
e
-
@build
.
trigger_variables
.
each
do
|
trigger_variable
|
%dt
.js-build-variable.trigger-build-variable
=
trigger_variable
[
:key
]
%dd
.js-build-value.trigger-build-value
=
trigger_variable
[
:value
]
...
...
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