2014-11-12 21:11:42 +00:00
|
|
|
- set_meta_tags title: title_object(@group)
|
|
|
|
|
|
|
|
= render 'groups/base/submenu'
|
|
|
|
|
|
|
|
.row
|
|
|
|
.col-md-2.col-md-offset-1
|
|
|
|
- size = User::AVATAR_SIZES[:big]
|
|
|
|
= image_tag avatar_url(@group, :big),
|
|
|
|
alt: @group.uname, height: size, width: size
|
|
|
|
.col-md-8
|
|
|
|
h2
|
|
|
|
= @group.uname
|
|
|
|
h4
|
|
|
|
= t('activerecord.attributes.group.description')
|
|
|
|
p
|
|
|
|
= @group.description
|
|
|
|
hr
|
|
|
|
.row
|
2014-11-13 00:17:22 +00:00
|
|
|
.col-md-8.col-md-offset-1 ng-controller='ProfileController'
|
2014-11-13 21:19:18 +00:00
|
|
|
= render 'users/profile/projects', subject: @group
|
2014-11-12 21:11:42 +00:00
|
|
|
.col-md-2
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading
|
|
|
|
b
|
|
|
|
= t('layout.collaborators.members')
|
|
|
|
.panel-body
|
|
|
|
- size = User::AVATAR_SIZES[:micro]
|
|
|
|
- @members.each do |member|
|
|
|
|
p
|
|
|
|
=> image_tag avatar_url(member, :micro), alt: member.uname, height: size, width: size
|
|
|
|
= link_to member.uname.truncate(20), member
|
|
|
|
|