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
9674447b
Commit
9674447b
authored
Sep 18, 2020
by
andrewmcgivery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply GitLab UI button styles to buttons in app/views/admin/labels directory
parent
152b0cd9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/admin/labels/_form.html.haml
app/views/admin/labels/_form.html.haml
+2
-2
app/views/admin/labels/_label.html.haml
app/views/admin/labels/_label.html.haml
+2
-2
app/views/admin/labels/index.html.haml
app/views/admin/labels/index.html.haml
+1
-1
No files found.
app/views/admin/labels/_form.html.haml
View file @
9674447b
...
...
@@ -27,5 +27,5 @@
=
render_suggested_colors
.form-actions
=
f
.
submit
_
(
'Save'
),
class:
'btn btn-success js-save-button'
=
link_to
_
(
"Cancel"
),
admin_labels_path
,
class:
'btn btn-cancel'
=
f
.
submit
_
(
'Save'
),
class:
'btn
gl-button
btn-success js-save-button'
=
link_to
_
(
"Cancel"
),
admin_labels_path
,
class:
'btn
gl-button
btn-cancel'
app/views/admin/labels/_label.html.haml
View file @
9674447b
%li
.label-list-item
{
id:
dom_id
(
label
)
}
=
render
"shared/label_row"
,
label:
label
.
present
(
issuable_subject:
nil
)
.label-actions-list
=
link_to
edit_admin_label_path
(
label
),
class:
'btn btn-transparent label-action has-tooltip'
,
title:
_
(
'Edit'
),
data:
{
placement:
'bottom'
},
aria_label:
_
(
'Edit'
)
do
=
link_to
edit_admin_label_path
(
label
),
class:
'btn
gl-button
btn-transparent label-action has-tooltip'
,
title:
_
(
'Edit'
),
data:
{
placement:
'bottom'
},
aria_label:
_
(
'Edit'
)
do
=
sprite_icon
(
'pencil'
)
=
link_to
admin_label_path
(
label
),
class:
'btn btn-transparent remove-row label-action has-tooltip'
,
title:
_
(
'Delete'
),
data:
{
placement:
'bottom'
,
confirm:
"Delete this label? Are you sure?"
},
aria_label:
_
(
'Delete'
),
method: :delete
,
remote:
true
do
=
link_to
admin_label_path
(
label
),
class:
'btn
gl-button
btn-transparent remove-row label-action has-tooltip'
,
title:
_
(
'Delete'
),
data:
{
placement:
'bottom'
,
confirm:
"Delete this label? Are you sure?"
},
aria_label:
_
(
'Delete'
),
method: :delete
,
remote:
true
do
=
sprite_icon
(
'remove'
)
app/views/admin/labels/index.html.haml
View file @
9674447b
-
page_title
_
(
"Labels"
)
%div
=
link_to
new_admin_label_path
,
class:
"float-right btn btn-nr btn-success"
do
=
link_to
new_admin_label_path
,
class:
"float-right btn
gl-button
btn-nr btn-success"
do
=
_
(
'New label'
)
%h3
.page-title
=
_
(
'Labels'
)
...
...
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