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
400d2af4
Commit
400d2af4
authored
Mar 18, 2021
by
Sam Beckham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moves all info buttons to confirm
this only applies to the previously changed buttons
parent
e2d01cae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/authentication/_authenticate.html.haml
app/views/authentication/_authenticate.html.haml
+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/authentication/_authenticate.html.haml
View file @
400d2af4
#js-authenticate-token-2fa
#js-authenticate-token-2fa
%a
.gl-button.btn.btn-block.btn-
info
#js-login-2fa-device
{
href:
'#'
}=
_
(
"Sign in via 2FA code"
)
%a
.gl-button.btn.btn-block.btn-
confirm
#js-login-2fa-device
{
href:
'#'
}=
_
(
"Sign in via 2FA code"
)
%script
#js-authenticate-token-2fa-in-progress
{
type:
"text/template"
}
%script
#js-authenticate-token-2fa-in-progress
{
type:
"text/template"
}
%p
=
_
(
"Trying to communicate with your device. Plug it in (if you haven't already) and press the button on the device now."
)
%p
=
_
(
"Trying to communicate with your device. Plug it in (if you haven't already) and press the button on the device now."
)
...
...
app/views/projects/pipeline_schedules/_form.html.haml
View file @
400d2af4
...
@@ -27,7 +27,7 @@
...
@@ -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'
,
variable:
variable
,
only_key_value:
true
=
render
'ci/variables/variable_row'
,
form_field:
'schedule'
,
only_key_value:
true
=
render
'ci/variables/variable_row'
,
form_field:
'schedule'
,
only_key_value:
true
-
if
@schedule
.
variables
.
size
>
0
-
if
@schedule
.
variables
.
size
>
0
%button
.gl-button.btn.btn-
info
.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
.btn-inverted.gl-mt-3.js-secret-value-reveal-button
{
type:
'button'
,
data:
{
secret_reveal_status:
"#{@schedule.variables.size == 0}"
}
}
-
if
@schedule
.
variables
.
size
==
0
-
if
@schedule
.
variables
.
size
==
0
=
n_
(
'Hide value'
,
'Hide values'
,
@schedule
.
variables
.
size
)
=
n_
(
'Hide value'
,
'Hide values'
,
@schedule
.
variables
.
size
)
-
else
-
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