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
b292359c
Commit
b292359c
authored
Apr 12, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Convert btn-xs to btn-sm
parent
ac2f1141
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
57 additions
and
57 deletions
+57
-57
app/assets/javascripts/badges/components/badge.vue
app/assets/javascripts/badges/components/badge.vue
+3
-3
app/assets/javascripts/ide/components/ide_file_buttons.vue
app/assets/javascripts/ide/components/ide_file_buttons.vue
+4
-4
app/assets/javascripts/pages/profiles/two_factor_auths/index.js
...sets/javascripts/pages/profiles/two_factor_auths/index.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/deployment.vue
...cripts/vue_merge_request_widget/components/deployment.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_auto_merge_failed.vue
..._widget/components/states/mr_widget_auto_merge_failed.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_conflicts.vue
..._request_widget/components/states/mr_widget_conflicts.vue
+2
-2
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_failed_to_merge.vue
...st_widget/components/states/mr_widget_failed_to_merge.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merge_when_pipeline_succeeds.vue
...ponents/states/mr_widget_merge_when_pipeline_succeeds.vue
+2
-2
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merged.vue
...rge_request_widget/components/states/mr_widget_merged.vue
+5
-5
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js
...uest_widget/components/states/mr_widget_ready_to_merge.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_wip.js
...e_merge_request_widget/components/states/mr_widget_wip.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/unresolved_discussions.vue
...quest_widget/components/states/unresolved_discussions.vue
+1
-1
app/assets/javascripts/vue_shared/components/markdown/toolbar.vue
...ts/javascripts/vue_shared/components/markdown/toolbar.vue
+1
-1
app/views/admin/broadcast_messages/index.html.haml
app/views/admin/broadcast_messages/index.html.haml
+2
-2
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
app/views/admin/identities/_identity.html.haml
app/views/admin/identities/_identity.html.haml
+2
-2
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+2
-2
app/views/admin/runners/show.html.haml
app/views/admin/runners/show.html.haml
+2
-2
app/views/admin/spam_logs/_spam_log.html.haml
app/views/admin/spam_logs/_spam_log.html.haml
+6
-6
app/views/admin/users/projects.html.haml
app/views/admin/users/projects.html.haml
+2
-2
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+2
-2
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+1
-1
app/views/shared/milestones/_milestone.html.haml
app/views/shared/milestones/_milestone.html.haml
+7
-7
app/views/shared/notes/_hints.html.haml
app/views/shared/notes/_hints.html.haml
+1
-1
app/views/sherlock/queries/_general.html.haml
app/views/sherlock/queries/_general.html.haml
+2
-2
app/views/sherlock/transactions/_file_samples.html.haml
app/views/sherlock/transactions/_file_samples.html.haml
+1
-1
app/views/sherlock/transactions/_queries.html.haml
app/views/sherlock/transactions/_queries.html.haml
+1
-1
app/views/sherlock/transactions/index.html.haml
app/views/sherlock/transactions/index.html.haml
+1
-1
No files found.
app/assets/javascripts/badges/components/badge.vue
View file @
b292359c
...
...
@@ -89,7 +89,7 @@ export default {
v-show=
"hasError"
class=
"btn-group"
>
<div
class=
"btn btn-default btn-
xs
disabled"
>
<div
class=
"btn btn-default btn-
sm
disabled"
>
<icon
class=
"prepend-left-8 append-right-8"
name=
"doc_image"
...
...
@@ -98,7 +98,7 @@ export default {
/>
</div>
<div
class=
"btn btn-default btn-
xs
disabled"
class=
"btn btn-default btn-
sm
disabled"
>
<span
class=
"prepend-left-8 append-right-8"
>
{{
s__
(
'
Badges|No badge image
'
)
}}
</span>
</div>
...
...
@@ -106,7 +106,7 @@ export default {
<button
v-show=
"hasError"
class=
"btn btn-transparent btn-
xs
text-primary"
class=
"btn btn-transparent btn-
sm
text-primary"
type=
"button"
v-tooltip
:title=
"s__('Badges|Reload badge image')"
...
...
app/assets/javascripts/ide/components/ide_file_buttons.vue
View file @
b292359c
...
...
@@ -39,7 +39,7 @@ export default {
v-if=
"!file.binary"
:href=
"file.blamePath"
:title=
"__('Blame')"
class=
"btn btn-
xs
btn-transparent blame"
class=
"btn btn-
sm
btn-transparent blame"
>
<icon
name=
"blame"
...
...
@@ -50,7 +50,7 @@ export default {
v-tooltip
:href=
"file.commitsPath"
:title=
"__('History')"
class=
"btn btn-
xs
btn-transparent history"
class=
"btn btn-
sm
btn-transparent history"
>
<icon
name=
"history"
...
...
@@ -61,7 +61,7 @@ export default {
v-tooltip
:href=
"file.permalink"
:title=
"__('Permalink')"
class=
"btn btn-
xs
btn-transparent permalink"
class=
"btn btn-
sm
btn-transparent permalink"
>
<icon
name=
"link"
...
...
@@ -72,7 +72,7 @@ export default {
v-tooltip
:href=
"file.rawPath"
target=
"_blank"
class=
"btn btn-
xs
btn-transparent prepend-left-10 raw"
class=
"btn btn-
sm
btn-transparent prepend-left-10 raw"
rel=
"noopener noreferrer"
:title=
"rawDownloadButtonLabel"
>
<icon
...
...
app/assets/javascripts/pages/profiles/two_factor_auths/index.js
View file @
b292359c
...
...
@@ -5,7 +5,7 @@ document.addEventListener('DOMContentLoaded', () => {
const
twoFactorNode
=
document
.
querySelector
(
'
.js-two-factor-auth
'
);
const
skippable
=
twoFactorNode
.
dataset
.
twoFactorSkippable
===
'
true
'
;
if
(
skippable
)
{
const
button
=
`<a class="btn btn-
xs
btn-warning float-right" data-method="patch" href="
${
twoFactorNode
.
dataset
.
two_factor_skip_url
}
">Configure it later</a>`
;
const
button
=
`<a class="btn btn-
sm
btn-warning float-right" data-method="patch" href="
${
twoFactorNode
.
dataset
.
two_factor_skip_url
}
">Configure it later</a>`
;
const
flashAlert
=
document
.
querySelector
(
'
.flash-alert .container-fluid
'
);
if
(
flashAlert
)
flashAlert
.
insertAdjacentHTML
(
'
beforeend
'
,
button
);
}
...
...
app/assets/javascripts/vue_merge_request_widget/components/deployment.vue
View file @
b292359c
...
...
@@ -127,7 +127,7 @@ export default {
</span>
<loading-button
v-if=
"deployment.stop_url"
container-class=
"btn btn-secondary btn-
xs
prepend-left-default"
container-class=
"btn btn-secondary btn-
sm
prepend-left-default"
label=
"Stop environment"
:loading=
"isStopping"
@
click=
"stopEnvironment"
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_auto_merge_failed.vue
View file @
b292359c
...
...
@@ -42,7 +42,7 @@
@
click=
"refreshWidget"
:disabled=
"isRefreshing"
type=
"button"
class=
"btn btn-
xs
btn-secondary"
class=
"btn btn-
sm
btn-secondary"
>
<loading-icon
v-if=
"isRefreshing"
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_conflicts.vue
View file @
b292359c
...
...
@@ -43,13 +43,13 @@ To merge this request, first rebase locally.`) }}
<a
v-if=
"mr.canMerge && mr.conflictResolutionPath"
:href=
"mr.conflictResolutionPath"
class=
"js-resolve-conflicts-button btn btn-secondary btn-
xs
"
class=
"js-resolve-conflicts-button btn btn-secondary btn-
sm
"
>
{{
s__
(
"
mrWidget|Resolve conflicts
"
)
}}
</a>
<button
v-if=
"mr.canMerge"
class=
"js-merge-locally-button btn btn-secondary btn-
xs
"
class=
"js-merge-locally-button btn btn-secondary btn-
sm
"
data-toggle=
"modal"
data-target=
"#modal_merge_info"
>
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_failed_to_merge.vue
View file @
b292359c
...
...
@@ -94,7 +94,7 @@
</span>
<button
@
click=
"refresh"
class=
"btn btn-secondary btn-
xs
js-refresh-button"
class=
"btn btn-secondary btn-
sm
js-refresh-button"
type=
"button"
>
{{
s__
(
"
mrWidget|Refresh now
"
)
}}
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merge_when_pipeline_succeeds.vue
View file @
b292359c
...
...
@@ -94,7 +94,7 @@
:disabled=
"isCancellingAutoMerge"
role=
"button"
href=
"#"
class=
"btn btn-
xs
btn-secondary js-cancel-auto-merge"
>
class=
"btn btn-
sm
btn-secondary js-cancel-auto-merge"
>
<i
v-if=
"isCancellingAutoMerge"
class=
"fa fa-spinner fa-spin"
...
...
@@ -129,7 +129,7 @@
:disabled=
"isRemovingSourceBranch"
@
click.prevent=
"removeSourceBranch"
role=
"button"
class=
"btn btn-
xs
btn-secondary js-remove-source-branch"
class=
"btn btn-
sm
btn-secondary js-remove-source-branch"
href=
"#"
>
<i
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merged.vue
View file @
b292359c
...
...
@@ -116,7 +116,7 @@
<a
v-if=
"mr.canRevertInCurrentMR"
v-tooltip
class=
"btn btn-close btn-
xs
"
class=
"btn btn-close btn-
sm
"
href=
"#modal-revert-commit"
data-toggle=
"modal"
data-container=
"body"
...
...
@@ -127,7 +127,7 @@
<a
v-else-if=
"mr.revertInForkPath"
v-tooltip
class=
"btn btn-close btn-
xs
"
class=
"btn btn-close btn-
sm
"
data-method=
"post"
:href=
"mr.revertInForkPath"
:title=
"revertTitle"
...
...
@@ -137,7 +137,7 @@
<a
v-if=
"mr.canCherryPickInCurrentMR"
v-tooltip
class=
"btn btn-secondary btn-
xs
"
class=
"btn btn-secondary btn-
sm
"
href=
"#modal-cherry-pick-commit"
data-toggle=
"modal"
data-container=
"body"
...
...
@@ -148,7 +148,7 @@
<a
v-else-if=
"mr.cherryPickInForkPath"
v-tooltip
class=
"btn btn-secondary btn-
xs
"
class=
"btn btn-secondary btn-
sm
"
data-method=
"post"
:href=
"mr.cherryPickInForkPath"
:title=
"cherryPickTitle"
...
...
@@ -175,7 +175,7 @@
@
click=
"removeSourceBranch"
:disabled=
"isMakingRequest"
type=
"button"
class=
"btn btn-
xs
btn-secondary js-remove-branch-button"
class=
"btn btn-
sm
btn-secondary js-remove-branch-button"
>
{{
s__
(
"
mrWidget|Remove Source Branch
"
)
}}
</button>
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js
View file @
b292359c
...
...
@@ -306,7 +306,7 @@ export default {
v-else
@click="toggleCommitMessageEditor"
:disabled="isMergeButtonDisabled"
class="js-modify-commit-message-button btn btn-default btn-
xs
"
class="js-modify-commit-message-button btn btn-default btn-
sm
"
type="button">
Modify commit message
</button>
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_wip.js
View file @
b292359c
...
...
@@ -54,7 +54,7 @@ export default {
@click="removeWIP"
:disabled="isMakingRequest"
type="button"
class="btn btn-default btn-
xs
js-remove-wip">
class="btn btn-default btn-
sm
js-remove-wip">
<i
v-if="isMakingRequest"
class="fa fa-spinner fa-spin"
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/unresolved_discussions.vue
View file @
b292359c
...
...
@@ -28,7 +28,7 @@ export default {
<a
v-if=
"mr.createIssueToResolveDiscussionsPath"
:href=
"mr.createIssueToResolveDiscussionsPath"
class=
"btn btn-secondary btn-
xs
js-create-issue"
class=
"btn btn-secondary btn-
sm
js-create-issue"
>
{{
s__
(
"
mrWidget|Create an issue to resolve them later
"
)
}}
</a>
...
...
app/assets/javascripts/vue_shared/components/markdown/toolbar.vue
View file @
b292359c
...
...
@@ -111,7 +111,7 @@
Attach a file
</button>
<button
class=
"btn btn-secondary btn-
xs
d-none button-cancel-uploading-files"
class=
"btn btn-secondary btn-
sm
d-none button-cancel-uploading-files"
type=
"button"
>
Cancel
...
...
app/views/admin/broadcast_messages/index.html.haml
View file @
b292359c
...
...
@@ -32,7 +32,7 @@
%td
=
message
.
ends_at
%td
=
link_to
icon
(
'pencil-square-o'
),
edit_admin_broadcast_message_path
(
message
),
title:
'Edit'
,
class:
'btn btn-
xs
'
=
link_to
icon
(
'times'
),
admin_broadcast_message_path
(
message
),
method: :delete
,
remote:
true
,
title:
'Remove'
,
class:
'js-remove-tr btn btn-
xs
btn-danger'
=
link_to
icon
(
'pencil-square-o'
),
edit_admin_broadcast_message_path
(
message
),
title:
'Edit'
,
class:
'btn btn-
sm
'
=
link_to
icon
(
'times'
),
admin_broadcast_message_path
(
message
),
method: :delete
,
remote:
true
,
title:
'Remove'
,
class:
'js-remove-tr btn btn-
sm
btn-danger'
=
paginate
@broadcast_messages
,
theme:
'gitlab'
app/views/admin/groups/show.html.haml
View file @
b292359c
...
...
@@ -117,7 +117,7 @@
group members
%span
.badge.badge-pill
=
@group
.
members
.
size
.float-right
=
link_to
icon
(
'pencil-square-o'
,
text:
'Manage access'
),
polymorphic_url
([
@group
,
:members
]),
class:
"btn btn-
xs
"
=
link_to
icon
(
'pencil-square-o'
,
text:
'Manage access'
),
polymorphic_url
([
@group
,
:members
]),
class:
"btn btn-
sm
"
%ul
.well-list.group-users-list.content-list.members-list
=
render
partial:
'shared/members/member'
,
collection:
@members
,
as: :member
,
locals:
{
show_controls:
false
}
.card-footer
...
...
app/views/admin/identities/_identity.html.haml
View file @
b292359c
...
...
@@ -4,9 +4,9 @@
%td
=
identity
.
extern_uid
%td
=
link_to
edit_admin_user_identity_path
(
@user
,
identity
),
class:
'btn btn-
xs
btn-grouped'
do
=
link_to
edit_admin_user_identity_path
(
@user
,
identity
),
class:
'btn btn-
sm
btn-grouped'
do
Edit
=
link_to
[
:admin
,
@user
,
identity
],
method: :delete
,
class:
'btn btn-
xs
btn-danger'
,
class:
'btn btn-
sm
btn-danger'
,
data:
{
confirm:
"Are you sure you want to remove this identity?"
}
do
Delete
app/views/admin/projects/show.html.haml
View file @
b292359c
...
...
@@ -164,7 +164,7 @@
group members
%span
.badge.badge-pill
=
@group_members
.
size
.float-right
=
link_to
admin_group_path
(
@group
),
class:
'btn btn-
xs
'
do
=
link_to
admin_group_path
(
@group
),
class:
'btn btn-
sm
'
do
=
icon
(
'pencil-square-o'
,
text:
'Manage access'
)
%ul
.well-list.content-list.members-list
=
render
partial:
'shared/members/member'
,
collection:
@group_members
,
as: :member
,
locals:
{
show_controls:
false
}
...
...
@@ -179,7 +179,7 @@
project members
%span
.badge.badge-pill
=
@project
.
users
.
size
.float-right
=
link_to
icon
(
'pencil-square-o'
,
text:
'Manage access'
),
polymorphic_url
([
@project
,
:members
]),
class:
"btn btn-
xs
"
=
link_to
icon
(
'pencil-square-o'
,
text:
'Manage access'
),
polymorphic_url
([
@project
,
:members
]),
class:
"btn btn-
sm
"
%ul
.well-list.project_members.content-list.members-list
=
render
partial:
'shared/members/member'
,
collection:
@project_members
,
as: :member
,
locals:
{
show_controls:
false
}
.card-footer
...
...
app/views/admin/runners/show.html.haml
View file @
b292359c
...
...
@@ -46,7 +46,7 @@
=
project
.
full_name
%td
.float-right
=
link_to
'Disable'
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
,
runner_project
],
method: :delete
,
class:
'btn btn-danger btn-
xs
'
=
link_to
'Disable'
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
,
runner_project
],
method: :delete
,
class:
'btn btn-danger btn-
sm
'
%table
.table.unassigned-projects
%thead
...
...
@@ -70,7 +70,7 @@
.float-right
=
form_for
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
,
project
.
runner_projects
.
new
]
do
|
f
|
=
f
.
hidden_field
:runner_id
,
value:
@runner
.
id
=
f
.
submit
'Enable'
,
class:
'btn btn-
xs
'
=
f
.
submit
'Enable'
,
class:
'btn btn-
sm
'
=
paginate
@projects
,
theme:
"gitlab"
.col-md-6
...
...
app/views/admin/spam_logs/_spam_log.html.haml
View file @
b292359c
...
...
@@ -24,16 +24,16 @@
%td
-
if
user
=
link_to
'Remove user'
,
admin_spam_log_path
(
spam_log
,
remove_user:
true
),
data:
{
confirm:
"USER
#{
user
.
name
}
WILL BE REMOVED! Are you sure?"
},
method: :delete
,
class:
"btn btn-
xs
btn-remove"
data:
{
confirm:
"USER
#{
user
.
name
}
WILL BE REMOVED! Are you sure?"
},
method: :delete
,
class:
"btn btn-
sm
btn-remove"
%td
-
if
spam_log
.
submitted_as_ham?
.btn.btn-
xs
.disabled
.btn.btn-
sm
.disabled
Submitted as ham
-
else
=
link_to
'Submit as ham'
,
mark_as_ham_admin_spam_log_path
(
spam_log
),
method: :post
,
class:
'btn btn-
xs
btn-warning'
=
link_to
'Submit as ham'
,
mark_as_ham_admin_spam_log_path
(
spam_log
),
method: :post
,
class:
'btn btn-
sm
btn-warning'
-
if
user
&&
!
user
.
blocked?
=
link_to
'Block user'
,
block_admin_user_path
(
user
),
data:
{
confirm:
'USER WILL BE BLOCKED! Are you sure?'
},
method: :put
,
class:
"btn btn-
xs
"
=
link_to
'Block user'
,
block_admin_user_path
(
user
),
data:
{
confirm:
'USER WILL BE BLOCKED! Are you sure?'
},
method: :put
,
class:
"btn btn-
sm
"
-
else
.btn.btn-
xs
.disabled
.btn.btn-
sm
.disabled
Already blocked
=
link_to
'Remove log'
,
[
:admin
,
spam_log
],
remote:
true
,
method: :delete
,
class:
"btn btn-
xs
btn-close js-remove-tr"
=
link_to
'Remove log'
,
[
:admin
,
spam_log
],
remote:
true
,
method: :delete
,
class:
"btn btn-
sm
btn-close js-remove-tr"
app/views/admin/users/projects.html.haml
View file @
b292359c
...
...
@@ -14,7 +14,7 @@
.float-right
%span
.light.vertical-align-middle
=
group_member
.
human_access
-
unless
group_member
.
owner?
=
link_to
group_group_member_path
(
group
,
group_member
),
data:
{
confirm:
remove_member_message
(
group_member
)
},
method: :delete
,
remote:
true
,
class:
"btn-
xs
btn btn-remove prepend-left-10"
,
title:
'Remove user from group'
do
=
link_to
group_group_member_path
(
group
,
group_member
),
data:
{
confirm:
remove_member_message
(
group_member
)
},
method: :delete
,
remote:
true
,
class:
"btn-
sm
btn btn-remove prepend-left-10"
,
title:
'Remove user from group'
do
%i
.fa.fa-times.fa-inverse
.row
...
...
@@ -44,5 +44,5 @@
%span
.light.vertical-align-middle
=
member
.
human_access
-
if
member
.
respond_to?
:project
=
link_to
project_project_member_path
(
project
,
member
),
data:
{
confirm:
remove_member_message
(
member
)
},
remote:
true
,
method: :delete
,
class:
"btn-
xs
btn btn-remove prepend-left-10"
,
title:
'Remove user from project'
do
=
link_to
project_project_member_path
(
project
,
member
),
data:
{
confirm:
remove_member_message
(
member
)
},
remote:
true
,
method: :delete
,
class:
"btn-
sm
btn btn-remove prepend-left-10"
,
title:
'Remove user from project'
do
%i
.fa.fa-times
app/views/admin/users/show.html.haml
View file @
b292359c
...
...
@@ -37,7 +37,7 @@
%li
%span
.light
Secondary email:
%strong
=
email
.
email
=
link_to
remove_email_admin_user_path
(
@user
,
email
),
data:
{
confirm:
"Are you sure you want to remove
#{
email
.
email
}
?"
},
method: :delete
,
class:
"btn-
xs
btn btn-remove float-right"
,
title:
'Remove secondary email'
,
id:
"remove_email_
#{
email
.
id
}
"
do
=
link_to
remove_email_admin_user_path
(
@user
,
email
),
data:
{
confirm:
"Are you sure you want to remove
#{
email
.
email
}
?"
},
method: :delete
,
class:
"btn-
sm
btn btn-remove float-right"
,
title:
'Remove secondary email'
,
id:
"remove_email_
#{
email
.
id
}
"
do
%i
.fa.fa-times
%li
.two-factor-status
...
...
@@ -45,7 +45,7 @@
%strong
{
class:
@user
.
two_factor_enabled?
?
'cgreen'
:
'cred'
}
-
if
@user
.
two_factor_enabled?
Enabled
=
link_to
'Disable'
,
disable_two_factor_admin_user_path
(
@user
),
data:
{
confirm:
'Are you sure?'
},
method: :patch
,
class:
'btn btn-
xs
btn-remove float-right'
,
title:
'Disable Two-factor Authentication'
=
link_to
'Disable'
,
disable_two_factor_admin_user_path
(
@user
),
data:
{
confirm:
'Are you sure?'
},
method: :patch
,
class:
'btn btn-
sm
btn-remove float-right'
,
title:
'Disable Two-factor Authentication'
-
else
Disabled
...
...
app/views/layouts/nav/sidebar/_project.html.haml
View file @
b292359c
...
...
@@ -213,7 +213,7 @@
=
link_to
'Auto DevOps'
,
help_page_path
(
'topics/autodevops/index.md'
)
%span
=
_
(
'uses Kubernetes clusters to deploy your code!'
)
%hr
%button
.btn.btn-create.btn-
xs
.dismiss-feature-highlight
{
type:
'button'
}
%button
.btn.btn-create.btn-
sm
.dismiss-feature-highlight
{
type:
'button'
}
%span
=
_
(
"Got it!"
)
=
sprite_icon
(
'thumb-up'
)
...
...
app/views/shared/milestones/_milestone.html.haml
View file @
b292359c
...
...
@@ -32,13 +32,13 @@
.col-sm-6.milestone-actions
-
if
can?
(
current_user
,
:admin_milestones
,
@group
)
-
if
milestone
.
group_milestone?
=
link_to
edit_group_milestone_path
(
@group
,
milestone
),
class:
"btn btn-
xs
btn-grouped"
do
=
link_to
edit_group_milestone_path
(
@group
,
milestone
),
class:
"btn btn-
sm
btn-grouped"
do
Edit
\
-
if
milestone
.
closed?
=
link_to
'Reopen Milestone'
,
group_milestone_route
(
milestone
,
{
state_event: :activate
}),
method: :put
,
class:
"btn btn-
xs
btn-grouped btn-reopen"
=
link_to
'Reopen Milestone'
,
group_milestone_route
(
milestone
,
{
state_event: :activate
}),
method: :put
,
class:
"btn btn-
sm
btn-grouped btn-reopen"
-
else
=
link_to
'Close Milestone'
,
group_milestone_route
(
milestone
,
{
state_event: :close
}),
method: :put
,
class:
"btn btn-
xs
btn-grouped btn-close"
=
link_to
'Close Milestone'
,
group_milestone_route
(
milestone
,
{
state_event: :close
}),
method: :put
,
class:
"btn btn-
sm
btn-grouped btn-close"
-
if
@project
.row
...
...
@@ -46,12 +46,12 @@
=
render
(
'shared/milestone_expired'
,
milestone:
milestone
)
.col-sm-6.milestone-actions
-
if
can?
(
current_user
,
:admin_milestone
,
milestone
.
project
)
and
milestone
.
active?
=
link_to
edit_project_milestone_path
(
milestone
.
project
,
milestone
),
class:
"btn btn-
xs
btn-grouped"
do
=
link_to
edit_project_milestone_path
(
milestone
.
project
,
milestone
),
class:
"btn btn-
sm
btn-grouped"
do
Edit
\
-
if
@project
.
group
%button
.js-promote-project-milestone-button.btn.btn-
xs
.btn-grouped.has-tooltip
{
title:
_
(
'Promote to Group Milestone'
),
%button
.js-promote-project-milestone-button.btn.btn-
sm
.btn-grouped.has-tooltip
{
title:
_
(
'Promote to Group Milestone'
),
disabled:
true
,
type:
'button'
,
data:
{
url:
promote_project_milestone_path
(
milestone
.
project
,
milestone
),
...
...
@@ -62,9 +62,9 @@
toggle:
'modal'
}
}
=
_
(
'Promote'
)
=
link_to
'Close Milestone'
,
project_milestone_path
(
@project
,
milestone
,
milestone:
{
state_event: :close
}),
method: :put
,
remote:
true
,
class:
"btn btn-
xs
btn-close btn-grouped"
=
link_to
'Close Milestone'
,
project_milestone_path
(
@project
,
milestone
,
milestone:
{
state_event: :close
}),
method: :put
,
remote:
true
,
class:
"btn btn-
sm
btn-close btn-grouped"
%button
.js-delete-milestone-button.btn.btn-
xs
.btn-grouped.btn-danger
{
data:
{
toggle:
'modal'
,
%button
.js-delete-milestone-button.btn.btn-
sm
.btn-grouped.btn-danger
{
data:
{
toggle:
'modal'
,
target:
'#delete-milestone-modal'
,
milestone_id:
milestone
.
id
,
milestone_title:
markdown_field
(
milestone
,
:title
),
...
...
app/views/shared/notes/_hints.html.haml
View file @
b292359c
...
...
@@ -32,4 +32,4 @@
=
icon
(
'file-image-o'
,
class:
'toolbar-button-icon'
)
Attach a file
%button
.btn.btn-secondary.btn-
xs
.d-none.button-cancel-uploading-files
{
type:
'button'
}
Cancel
%button
.btn.btn-secondary.btn-
sm
.d-none.button-cancel-uploading-files
{
type:
'button'
}
Cancel
app/views/sherlock/queries/_general.html.haml
View file @
b292359c
...
...
@@ -26,7 +26,7 @@
.card
.card-header
.float-right
%button
.js-clipboard-trigger.btn.btn-
xs
{
title:
t
(
'sherlock.copy_to_clipboard'
),
type: :button
}
%button
.js-clipboard-trigger.btn.btn-
sm
{
title:
t
(
'sherlock.copy_to_clipboard'
),
type: :button
}
%i
.fa.fa-clipboard
%pre
.hidden
=
@query
.
formatted_query
...
...
@@ -41,7 +41,7 @@
.card
.card-header
.float-right
%button
.js-clipboard-trigger.btn.btn-
xs
{
title:
t
(
'sherlock.copy_to_clipboard'
),
type: :button
}
%button
.js-clipboard-trigger.btn.btn-
sm
{
title:
t
(
'sherlock.copy_to_clipboard'
),
type: :button
}
%i
.fa.fa-clipboard
%pre
.hidden
=
@query
.
explain
...
...
app/views/sherlock/transactions/_file_samples.html.haml
View file @
b292359c
...
...
@@ -21,4 +21,4 @@
%td
=
link_to
(
t
(
'sherlock.view'
),
sherlock_transaction_file_sample_path
(
@transaction
,
sample
),
class:
'btn btn-
xs
'
)
class:
'btn btn-
sm
'
)
app/views/sherlock/transactions/_queries.html.haml
View file @
b292359c
...
...
@@ -21,4 +21,4 @@
%td
=
link_to
(
t
(
'sherlock.view'
),
sherlock_transaction_query_path
(
@transaction
,
query
),
class:
'btn btn-
xs
'
)
class:
'btn btn-
sm
'
)
app/views/sherlock/transactions/index.html.haml
View file @
b292359c
...
...
@@ -38,5 +38,5 @@
=
time_ago_in_words
(
trans
.
finished_at
)
=
t
(
'sherlock.ago'
)
%td
=
link_to
(
sherlock_transaction_path
(
trans
),
class:
'btn btn-
xs
'
)
do
=
link_to
(
sherlock_transaction_path
(
trans
),
class:
'btn btn-
sm
'
)
do
=
t
(
'sherlock.view'
)
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