debian-mirror-gitlab/app/views/groups/show.html.haml

42 lines
1.2 KiB
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
- unless can?(current_user, :read_group, @group)
- @disable_search_panel = true
2015-09-11 14:41:01 +05:30
= content_for :meta_tags do
- if current_user
= auto_discovery_link_tag(:atom, group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} activity")
2014-09-02 18:07:02 +05:30
.dashboard
2015-04-26 12:48:37 +05:30
.header-with-avatar.clearfix
= image_tag group_icon(@group), class: "avatar group-avatar s90"
%h3
2014-09-02 18:07:02 +05:30
= @group.name
2015-04-26 12:48:37 +05:30
.username
@#{@group.path}
- if @group.description.present?
.description
2015-09-11 14:41:01 +05:30
= markdown(@group.description, pipeline: :description)
2015-04-26 12:48:37 +05:30
%hr
2015-09-11 14:41:01 +05:30
= render 'shared/show_aside'
2015-09-25 12:07:36 +05:30
- if can?(current_user, :read_group, @group)
.row
%section.activities.col-md-7
.hidden-xs
2015-09-11 14:41:01 +05:30
- if current_user
2015-09-25 12:07:36 +05:30
= render "events/event_last_push", event: @last_push
2015-10-24 18:46:33 +05:30
.pull-right
= link_to group_path(@group, { format: :atom, private_token: current_user.private_token }), title: "Feed", class: 'btn rss-btn' do
%i.fa.fa-rss
2015-09-11 14:41:01 +05:30
2015-09-25 12:07:36 +05:30
= render 'shared/event_filter'
%hr
2015-09-11 14:41:01 +05:30
2015-09-25 12:07:36 +05:30
.content_list
= spinner
%aside.side.col-md-5
= render "projects", projects: @projects
- else
%p
This group does not have public projects