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
9339b5f4
Commit
9339b5f4
authored
Mar 23, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update no repository placeholder
parent
3cd95700
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
app/views/projects/no_repo.html.haml
app/views/projects/no_repo.html.haml
+3
-1
changelogs/unreleased/fix-projects-no-repository-placeholder.yml
...ogs/unreleased/fix-projects-no-repository-placeholder.yml
+5
-0
spec/features/profiles/account_spec.rb
spec/features/profiles/account_spec.rb
+2
-2
No files found.
app/views/projects/no_repo.html.haml
View file @
9339b5f4
-
breadcrumb_title
"Details"
%h2
%h2
%i
.fa.fa-warning
%i
.fa.fa-warning
#{
_
(
'No repository'
)
}
#{
_
(
'No repository'
)
}
...
@@ -19,4 +21,4 @@
...
@@ -19,4 +21,4 @@
-
if
can?
current_user
,
:remove_project
,
@project
-
if
can?
current_user
,
:remove_project
,
@project
.prepend-top-20
.prepend-top-20
=
link_to
_
(
'Remove project'
),
project_path
(
@project
),
data:
{
confirm:
remove_project_message
(
@project
)},
method: :delete
,
class:
"btn btn-remove pull-right"
=
link_to
_
(
'Remove project'
),
project_path
(
@project
),
data:
{
confirm:
remove_project_message
(
@project
)},
method: :delete
,
class:
"btn btn-
inverted btn-
remove pull-right"
changelogs/unreleased/fix-projects-no-repository-placeholder.yml
0 → 100644
View file @
9339b5f4
---
title
:
Update no repository placeholder
merge_request
:
17964
author
:
George Tsiolis
type
:
fixed
spec/features/profiles/account_spec.rb
View file @
9339b5f4
...
@@ -43,14 +43,14 @@ feature 'Profile > Account' do
...
@@ -43,14 +43,14 @@ feature 'Profile > Account' do
update_username
(
new_username
)
update_username
(
new_username
)
visit
new_project_path
visit
new_project_path
expect
(
current_path
).
to
eq
(
new_project_path
)
expect
(
current_path
).
to
eq
(
new_project_path
)
expect
(
find
(
'.breadcrumbs-sub-title'
)).
to
have_content
(
project
.
path
)
expect
(
find
(
'.breadcrumbs-sub-title'
)).
to
have_content
(
'Details'
)
end
end
scenario
'the old project path redirects to the new path'
do
scenario
'the old project path redirects to the new path'
do
update_username
(
new_username
)
update_username
(
new_username
)
visit
old_project_path
visit
old_project_path
expect
(
current_path
).
to
eq
(
new_project_path
)
expect
(
current_path
).
to
eq
(
new_project_path
)
expect
(
find
(
'.breadcrumbs-sub-title'
)).
to
have_content
(
project
.
path
)
expect
(
find
(
'.breadcrumbs-sub-title'
)).
to
have_content
(
'Details'
)
end
end
end
end
end
end
...
...
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