Commit 1d217381 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show activity/projects depends on access

parent 4e1c6019
......@@ -16,6 +16,7 @@
= render 'shared/show_aside'
- if can?(current_user, :read_group, @group)
.row
%section.activities.col-md-7
.hidden-xs
......@@ -32,6 +33,9 @@
.content_list
= spinner
- if @projects.any?
%aside.side.col-md-5
= render "projects", projects: @projects
- else
%p
= icon('lock')
This is a private group
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment