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
acfd962d
Commit
acfd962d
authored
Feb 05, 2021
by
Yogi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add btn-default class for edit buttons in admin projects and groups
parent
daa4126c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/admin/groups/_group.html.haml
app/views/admin/groups/_group.html.haml
+1
-1
app/views/admin/projects/_projects.html.haml
app/views/admin/projects/_projects.html.haml
+1
-1
No files found.
app/views/admin/groups/_group.html.haml
View file @
acfd962d
...
...
@@ -33,5 +33,5 @@
=
visibility_level_icon
(
group
.
visibility_level
)
.controls.gl-flex-shrink-0.gl-ml-5
=
link_to
_
(
'Edit'
),
admin_group_edit_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
'
gl-button btn
'
=
link_to
_
(
'Edit'
),
admin_group_edit_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
'
btn gl-button btn-default
'
=
link_to
_
(
'Delete'
),
[
:admin
,
group
],
data:
{
confirm:
_
(
"Are you sure you want to remove %{group_name}?"
)
%
{
group_name:
group
.
name
}
},
method: :delete
,
class:
'gl-button btn btn-danger'
app/views/admin/projects/_projects.html.haml
View file @
acfd962d
...
...
@@ -4,7 +4,7 @@
-
@projects
.
each_with_index
do
|
project
|
%li
.project-row
{
class:
(
'no-description'
if
project
.
description
.
blank?
)
}
.controls
=
link_to
'Edit'
,
edit_project_path
(
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"
gl-button btn
"
=
link_to
'Edit'
,
edit_project_path
(
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"
btn gl-button btn-default
"
%button
.delete-project-button.gl-button.btn.btn-danger
{
data:
{
delete_project_url:
admin_project_path
(
project
),
project_name:
project
.
name
}
}
=
s_
(
'AdminProjects|Delete'
)
...
...
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