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
e2d01cae
Commit
e2d01cae
authored
Mar 18, 2021
by
Sam Beckham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces the success buttons for confirm buttons
This only applies to the previously changed buttons
parent
c1da0e00
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
16 deletions
+16
-16
app/views/authentication/_register.html.haml
app/views/authentication/_register.html.haml
+1
-1
app/views/jira_connect/users/show.html.haml
app/views/jira_connect/users/show.html.haml
+1
-1
app/views/projects/issues/_new_branch.html.haml
app/views/projects/issues/_new_branch.html.haml
+1
-1
app/views/projects/triggers/_form.html.haml
app/views/projects/triggers/_form.html.haml
+1
-1
app/views/shared/runners/_form.html.haml
app/views/shared/runners/_form.html.haml
+1
-1
ee/app/views/devise/sessions/_new_smartcard.html.haml
ee/app/views/devise/sessions/_new_smartcard.html.haml
+1
-1
ee/app/views/groups/hooks/edit.html.haml
ee/app/views/groups/hooks/edit.html.haml
+1
-1
ee/app/views/groups/hooks/index.html.haml
ee/app/views/groups/hooks/index.html.haml
+1
-1
ee/app/views/groups/ldap_group_settings/_form.html.haml
ee/app/views/groups/ldap_group_settings/_form.html.haml
+1
-1
ee/app/views/groups/saml_providers/_form.html.haml
ee/app/views/groups/saml_providers/_form.html.haml
+1
-1
ee/app/views/groups/sso/_register_pane.html.haml
ee/app/views/groups/sso/_register_pane.html.haml
+2
-2
ee/app/views/ldap_group_links/_form.html.haml
ee/app/views/ldap_group_links/_form.html.haml
+1
-1
ee/app/views/registrations/welcome/_button.html.haml
ee/app/views/registrations/welcome/_button.html.haml
+1
-1
ee/app/views/trials/select.html.haml
ee/app/views/trials/select.html.haml
+1
-1
ee/app/views/unsubscribes/show.html.haml
ee/app/views/unsubscribes/show.html.haml
+1
-1
No files found.
app/views/authentication/_register.html.haml
View file @
e2d01cae
...
...
@@ -33,4 +33,4 @@
=
text_field_tag
'device_registration[name]'
,
nil
,
class:
'form-control'
,
placeholder:
_
(
"Pick a name"
)
.col-md-3
=
hidden_field_tag
'device_registration[device_response]'
,
nil
,
class:
'form-control'
,
required:
true
,
id:
"js-device-response"
=
submit_tag
_
(
"Register device"
),
class:
"gl-button btn btn-
success
"
=
submit_tag
_
(
"Register device"
),
class:
"gl-button btn btn-
confirm
"
app/views/jira_connect/users/show.html.haml
View file @
e2d01cae
...
...
@@ -5,7 +5,7 @@
%p
=
s_
(
'Integrations|You can now close this window and return to the GitLab for Jira application.'
)
-
if
@jira_app_link
%p
=
external_link
s_
(
'Integrations|Return to GitLab for Jira'
),
@jira_app_link
,
class:
'gl-button btn btn-
success
'
%p
=
external_link
s_
(
'Integrations|Return to GitLab for Jira'
),
@jira_app_link
,
class:
'gl-button btn btn-
confirm
'
%p
=
link_to
_
(
'Sign out'
),
destroy_user_session_path
,
method: :post
...
...
app/views/projects/issues/_new_branch.html.haml
View file @
e2d01cae
...
...
@@ -58,7 +58,7 @@
%span
.js-ref-message.form-text.text-muted
.form-group
%button
.btn.gl-button.btn-
success
.js-create-target
{
type:
'button'
,
data:
{
action:
'create-mr'
}
}
%button
.btn.gl-button.btn-
confirm
.js-create-target
{
type:
'button'
,
data:
{
action:
'create-mr'
}
}
=
create_mr_text
-
if
can_create_confidential_merge_request?
...
...
app/views/projects/triggers/_form.html.haml
View file @
e2d01cae
...
...
@@ -8,4 +8,4 @@
.form-group
=
f
.
label
:key
,
"Description"
,
class:
"label-bold"
=
f
.
text_field
:description
,
class:
'form-control gl-form-input'
,
required:
true
,
title:
'Trigger description is required.'
,
placeholder:
"Trigger description"
=
f
.
submit
btn_text
,
class:
"gl-button btn btn-
success
"
=
f
.
submit
btn_text
,
class:
"gl-button btn btn-
confirm
"
app/views/shared/runners/_form.html.haml
View file @
e2d01cae
...
...
@@ -59,4 +59,4 @@
.col-sm-10
=
f
.
text_field
:private_projects_minutes_cost_factor
,
class:
'form-control'
.form-actions
=
f
.
submit
_
(
'Save changes'
),
class:
'gl-button btn btn-
success
'
=
f
.
submit
_
(
'Save changes'
),
class:
'gl-button btn btn-
confirm
'
ee/app/views/devise/sessions/_new_smartcard.html.haml
View file @
e2d01cae
...
...
@@ -3,4 +3,4 @@
.login-body
=
form_tag
(
auth_smartcard_url
,
html:
{
'aria-live'
=>
'assertive'
})
do
.submit-container
=
submit_tag
_
(
'Login with smartcard'
),
class:
'gl-button btn btn-
success
'
=
submit_tag
_
(
'Login with smartcard'
),
class:
'gl-button btn btn-
confirm
'
ee/app/views/groups/hooks/edit.html.haml
View file @
e2d01cae
...
...
@@ -9,6 +9,6 @@
=
form_for
[
@group
,
@hook
],
as: :hook
,
url:
group_hook_path
(
@group
,
@hook
)
do
|
f
|
=
render
partial:
'shared/web_hooks/form'
,
locals:
{
form:
f
,
hook:
@hook
}
%span
>=
f
.
submit
_
(
'Save changes'
),
class:
'gl-button btn btn-
success
gl-mr-3'
%span
>=
f
.
submit
_
(
'Save changes'
),
class:
'gl-button btn btn-
confirm
gl-mr-3'
=
render
'shared/web_hooks/test_button'
,
hook:
@hook
=
link_to
_
(
'Delete'
),
group_hook_path
(
@group
,
@hook
),
method: :delete
,
class:
'gl-button btn btn-danger float-right'
,
data:
{
confirm:
_
(
'Are you sure?'
)
}
ee/app/views/groups/hooks/index.html.haml
View file @
e2d01cae
...
...
@@ -8,7 +8,7 @@
.col-lg-9.gl-mb-3
=
form_for
@hook
,
as: :hook
,
url:
polymorphic_path
([
@group
,
:hooks
])
do
|
f
|
=
render
partial:
'shared/web_hooks/form'
,
locals:
{
form:
f
,
hook:
@hook
}
=
f
.
submit
_
(
'Add webhook'
),
class:
'gl-button btn btn-
success
'
=
f
.
submit
_
(
'Add webhook'
),
class:
'gl-button btn btn-
confirm
'
=
render
'shared/web_hooks/index'
,
hooks:
@hooks
,
hook_class:
@hook
.
class
-
elsif
show_promotions?
...
...
ee/app/views/groups/ldap_group_settings/_form.html.haml
View file @
e2d01cae
...
...
@@ -8,4 +8,4 @@
=
f
.
label
:unlock_membership_to_ldap
,
class:
'form-check-label'
do
=
_
(
'Allow owners to manually add users outside of LDAP'
)
.form-actions
=
f
.
submit
_
(
'Save'
),
class:
'gl-button btn btn-
success
qa-save'
=
f
.
submit
_
(
'Save'
),
class:
'gl-button btn btn-
confirm
qa-save'
ee/app/views/groups/saml_providers/_form.html.haml
View file @
e2d01cae
...
...
@@ -63,6 +63,6 @@
=
s_
(
'GroupSAML|This will be set as the access level of users added to the group.'
)
.mt-3
=
f
.
submit
_
(
"Save changes"
),
class:
'gl-button btn btn-
success
'
,
data:
{
qa_selector:
'save_changes_button'
}
=
f
.
submit
_
(
"Save changes"
),
class:
'gl-button btn btn-
confirm
'
,
data:
{
qa_selector:
'save_changes_button'
}
#js-saml-test-button
.has-tooltip.float-right
=
render
'test_button'
,
saml_provider:
@saml_provider
ee/app/views/groups/sso/_register_pane.html.haml
View file @
e2d01cae
...
...
@@ -36,7 +36,7 @@
=
render
'user_info'
.submit-container
=
f
.
submit
_
(
"Sign out & Register"
),
class:
"btn-
success
gl-button btn qa-new-user-register-button"
,
data:
{
qa_selector:
'sign_out_and_register_button'
}
=
f
.
submit
_
(
"Sign out & Register"
),
class:
"btn-
confirm
gl-button btn qa-new-user-register-button"
,
data:
{
qa_selector:
'sign_out_and_register_button'
}
-
else
.submit-container
=
f
.
submit
_
(
"Register"
),
class:
"btn-
success
gl-button btn qa-new-user-register-button"
=
f
.
submit
_
(
"Register"
),
class:
"btn-
confirm
gl-button btn qa-new-user-register-button"
ee/app/views/ldap_group_links/_form.html.haml
View file @
e2d01cae
...
...
@@ -54,4 +54,4 @@
You can manage permission levels for individual group members in the Members tab.
.form-actions.gl-mb-5
=
f
.
submit
'Add synchronization'
,
class:
'gl-button btn btn-
success
qa-add-sync-button'
=
f
.
submit
'Add synchronization'
,
class:
'gl-button btn btn-
confirm
qa-add-sync-button'
ee/app/views/registrations/welcome/_button.html.haml
View file @
e2d01cae
=
button_tag
welcome_submit_button_text
,
class:
%w[gl-button btn btn-
success
w-100]
,
data:
{
qa_selector:
'get_started_button'
}
=
button_tag
welcome_submit_button_text
,
class:
%w[gl-button btn btn-
confirm
w-100]
,
data:
{
qa_selector:
'get_started_button'
}
ee/app/views/trials/select.html.haml
View file @
e2d01cae
...
...
@@ -29,6 +29,6 @@
.gl-form-checkbox.form-check.form-check-inline
=
radio_button_tag
:trial_entity
,
:individual
,
params
[
:trial_entity
]
==
'individual'
,
required:
true
,
class:
'form-check-input'
=
label_tag
:trial_entity_individual
,
_
(
'No'
),
class:
'form-check-label'
=
submit_tag
_
(
'Start your free trial'
),
class:
'gl-button btn btn-
success
btn-block'
=
submit_tag
_
(
'Start your free trial'
),
class:
'gl-button btn btn-
confirm
btn-block'
=
render
'skip_trial'
ee/app/views/unsubscribes/show.html.haml
View file @
e2d01cae
...
...
@@ -8,4 +8,4 @@
%strong
=
@email
from any further admin emails.
.form-actions
=
submit_tag
'Unsubscribe'
,
class:
'gl-button btn btn-
success
'
=
submit_tag
'Unsubscribe'
,
class:
'gl-button btn btn-
confirm
'
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