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
0cd66a64
Commit
0cd66a64
authored
Feb 10, 2021
by
Yogi
Committed by
Savas Vedova
Feb 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply new GitLab UI for no repo action buttons
parent
41f2d403
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/no_repo.html.haml
app/views/projects/no_repo.html.haml
+3
-3
changelogs/unreleased/gl-button-no-repo-actions.yml
changelogs/unreleased/gl-button-no-repo-actions.yml
+5
-0
No files found.
app/views/projects/no_repo.html.haml
View file @
0cd66a64
...
...
@@ -15,14 +15,14 @@
=
render
'projects/invite_members_modal'
,
project:
@project
.no-repo-actions
=
link_to
project_repository_path
(
@project
),
method: :post
,
class:
'btn
btn-primary
'
do
=
link_to
project_repository_path
(
@project
),
method: :post
,
class:
'btn
gl-button btn-confirm
'
do
#{
_
(
'Create empty repository'
)
}
%strong
.gl-ml-3.gl-mr-3
or
=
link_to
new_project_import_path
(
@project
),
class:
'btn'
do
=
link_to
new_project_import_path
(
@project
),
class:
'btn
gl-button btn-default
'
do
#{
_
(
'Import repository'
)
}
-
if
can?
current_user
,
:remove_project
,
@project
.prepend-top-20
=
link_to
_
(
'Delete project'
),
project_path
(
@project
),
data:
{
confirm:
remove_project_message
(
@project
)},
method: :delete
,
class:
"
gl-button btn btn-danger btn-danger-secondary
float-right"
=
link_to
_
(
'Delete project'
),
project_path
(
@project
),
data:
{
confirm:
remove_project_message
(
@project
)},
method: :delete
,
class:
"
btn gl-button btn-danger
float-right"
changelogs/unreleased/gl-button-no-repo-actions.yml
0 → 100644
View file @
0cd66a64
---
title
:
Apply new GitLab UI for no repo action buttons
merge_request
:
53580
author
:
Yogi (@yo)
type
:
other
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