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
334313a7
Commit
334313a7
authored
Mar 18, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show shared projects on Group#show in admin area
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
44b3404e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+16
-0
app/views/groups/_shared_projects.html.haml
app/views/groups/_shared_projects.html.haml
+0
-3
app/views/projects/_settings_nav.html.haml
app/views/projects/_settings_nav.html.haml
+1
-1
No files found.
app/views/admin/groups/show.html.haml
View file @
334313a7
...
...
@@ -44,6 +44,22 @@
%span
.pull-right.light
%span
.monospace
=
project
.
path_with_namespace
+
".git"
-
if
@group
.
shared_projects
.
any?
.ui-box
.title
Projects shared with
#{
@group
.
name
}
%small
(
#{
@group
.
shared_projects
.
count
}
)
%ul
.well-list
-
@group
.
shared_projects
.
sort_by
(
&
:name
).
each
do
|
project
|
%li
%strong
=
link_to
project
.
name_with_namespace
,
[
:admin
,
project
]
%span
.label.label-gray
=
repository_size
(
project
)
%span
.pull-right.light
%span
.monospace
=
project
.
path_with_namespace
+
".git"
.col-md-6
.ui-box
.title
...
...
app/views/groups/_shared_projects.html.haml
View file @
334313a7
...
...
@@ -16,6 +16,3 @@
=
truncate
(
project
.
name
,
length:
25
)
%span
.arrow
%i
.icon-angle-right
%span
.last-activity
%span
Last activity:
%span
.date
=
project_last_activity
(
project
)
app/views/projects/_settings_nav.html.haml
View file @
334313a7
...
...
@@ -9,7 +9,7 @@
Members
=
nav_link
(
controller: :group_links
)
do
=
link_to
project_group_links_path
(
@project
)
do
%
span
%
i
.icon-share
Groups
=
nav_link
(
controller: :deploy_keys
)
do
=
link_to
project_deploy_keys_path
(
@project
)
do
...
...
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