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
602b65c9
Commit
602b65c9
authored
Apr 25, 2019
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EE port of project-home-panel-differences
parent
2dd7b826
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-6
ee/app/views/projects/_home_mirror.html.haml
ee/app/views/projects/_home_mirror.html.haml
+6
-0
No files found.
app/views/projects/_home_panel.html.haml
View file @
602b65c9
...
...
@@ -80,12 +80,7 @@
-
deleted_message
=
s_
(
'ForkedFromProjectPath|Forked from %{project_name} (deleted)'
)
=
deleted_message
%
{
project_name:
fork_source_name
(
@project
)
}
-
if
@project
.
mirror?
-
import_url
=
@project
.
safe_import_url
%p
Mirrored from
#{
link_to
import_url
,
import_url
}
.
%br
=
render
"shared/mirror_status"
=
render_if_exists
"projects/home_mirror"
-
if
@project
.
badges
.
present?
.project-badges.mb-2
...
...
ee/app/views/projects/_home_mirror.html.haml
0 → 100644
View file @
602b65c9
-
if
@project
.
mirror?
-
import_url
=
@project
.
safe_import_url
%p
Mirrored from
#{
link_to
import_url
,
import_url
}
.
%br
=
render
"shared/mirror_status"
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