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
a8cdff03
Commit
a8cdff03
authored
Mar 18, 2021
by
Sam Beckham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces inverted buttons with secondary buttons
`btn-confirm btn-inverted` => `btn-confirm-secondary`
parent
08dca92d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/projects/pipeline_schedules/_form.html.haml
app/views/projects/pipeline_schedules/_form.html.haml
+1
-1
No files found.
app/views/projects/pipeline_schedules/_form.html.haml
View file @
a8cdff03
...
...
@@ -27,7 +27,7 @@
=
render
'ci/variables/variable_row'
,
form_field:
'schedule'
,
variable:
variable
,
only_key_value:
true
=
render
'ci/variables/variable_row'
,
form_field:
'schedule'
,
only_key_value:
true
-
if
@schedule
.
variables
.
size
>
0
%button
.gl-button.btn.btn-confirm
.btn-inverted
.gl-mt-3.js-secret-value-reveal-button
{
type:
'button'
,
data:
{
secret_reveal_status:
"#{@schedule.variables.size == 0}"
}
}
%button
.gl-button.btn.btn-confirm
-secondary
.gl-mt-3.js-secret-value-reveal-button
{
type:
'button'
,
data:
{
secret_reveal_status:
"#{@schedule.variables.size == 0}"
}
}
-
if
@schedule
.
variables
.
size
==
0
=
n_
(
'Hide value'
,
'Hide values'
,
@schedule
.
variables
.
size
)
-
else
...
...
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