<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][12580] trunk/src/bp-groups: Introduce the BP Group Block</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/12580">12580</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/12580","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>imath</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2020-03-25 07:47:37 +0000 (Wed, 25 Mar 2020)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Introduce the BP Group Block

It uses the BP Blocks API to register a block to let site owners feature one group of their community site. It includes Block settings to enable/disable some information such as the group profile photo, the group cover image, the group description and the group home page button.

See <a href="http://buddypress.trac.wordpress.org/ticket/8048">#8048</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbpgroupsclassesclassbpgroupscomponentphp">trunk/src/bp-groups/classes/class-bp-groups-component.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunksrcbpgroupsbpgroupsblocksphp">trunk/src/bp-groups/bp-groups-blocks.php</a></li>
<li>trunk/src/bp-groups/css/</li>
<li>trunk/src/bp-groups/css/blocks/</li>
<li><a href="#trunksrcbpgroupscssblocksgrouprtlcss">trunk/src/bp-groups/css/blocks/group-rtl.css</a></li>
<li><a href="#trunksrcbpgroupscssblocksgroupcss">trunk/src/bp-groups/css/blocks/group.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbpgroupsbpgroupsblocksphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/bp-groups/bp-groups-blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/bp-groups-blocks.php                          (rev 0)
+++ trunk/src/bp-groups/bp-groups-blocks.php    2020-03-25 07:47:37 UTC (rev 12580)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,203 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * BP Groups Blocks Functions.
+ *
+ * @package BuddyPress
+ * @subpackage GroupsBlocks
+ * @since 6.0.0
+ */
+
+// Exit if accessed directly.
+if ( ! defined( 'ABSPATH' ) ) {
+       exit;
+}
+
+/**
+ * Add BP Groups blocks specific settings to the BP Blocks Editor ones.
+ *
+ * @since 6.0.0
+ *
+ * @param array $bp_editor_settings BP blocks editor settings.
+ * @return array BP Groups blocks editor settings.
+ */
+function bp_groups_editor_settings( $bp_editor_settings = array() ) {
+       $bp = buddypress();
+
+       return array_merge(
+               $bp_editor_settings,
+               array(
+                       'groups' => array(
+                               'isAvatarEnabled'     => $bp->avatar && $bp->avatar->show_avatars && ! bp_disable_group_avatar_uploads(),
+                               'isCoverImageEnabled' => bp_is_active( 'groups', 'cover_image' ),
+                       ),
+               )
+       );
+}
+add_filter( 'bp_blocks_editor_settings', 'bp_groups_editor_settings' );
+
+/**
+ * Callback function to render the BP Group Block.
+ *
+ * @since 6.0.0
+ *
+ * @param array $attributes The block attributes.
+ * @return string           HTML output.
+ */
+function bp_groups_render_group_block( $attributes = array() ) {
+       $bp = buddypress();
+
+       $block_args = wp_parse_args(
+               $attributes,
+               array(
+                       'itemID'              => 0,
+                       'avatarSize'          => 'full',
+                       'displayDescription'  => true,
+                       'displayActionButton' => true,
+                       'displayCoverImage'   => true,
+               )
+       );
+
+       if ( ! $block_args['itemID'] ) {
+               return;
+       }
+
+       // Set the group ID and container classes.
+       $group_id          = (int) $block_args['itemID'];
+       $container_classes = array( 'bp-block-group' );
+
+       // Group object.
+       $group = groups_get_group( $group_id );
+
+       if ( ! $group->id ) {
+               return;
+       }
+
+       // Avatar variables.
+       $avatar           = '';
+       $avatar_container = '';
+
+       // Cover image variable.
+       $cover_image     = '';
+       $cover_style     = '';
+       $cover_container = '';
+
+       // Group name/link/description variables.
+       $group_name        = bp_get_group_name( $group );
+       $group_link        = bp_get_group_permalink( $group );
+       $group_description = '';
+       $group_content     = '';
+
+       // Group action button.
+       $action_button         = '';
+       $display_action_button = (bool) $block_args['displayActionButton'];
+
+       if ( $bp->avatar && $bp->avatar->show_avatars && ! bp_disable_group_avatar_uploads() && in_array( $block_args['avatarSize'], array( 'thumb', 'full' ), true ) ) {
+               $avatar = bp_core_fetch_avatar(
+                       array(
+                               'item_id' => $group->id,
+                               'object'  => 'group',
+                               'type'    => $block_args['avatarSize'],
+                               'html'    => false,
+                       )
+               );
+
+               $container_classes[] = 'avatar-' . $block_args['avatarSize'];
+       } else {
+               $container_classes[] = 'avatar-none';
+       }
+
+       if ( $avatar ) {
+               $avatar_container = sprintf(
+                       '<div class="item-header-avatar">
+                               <a href="%1$s">
+                                       <img src="%2$s" alt="%3$s" class="avatar">
+                               </a>
+                       </div>',
+                       esc_url( $group_link ),
+                       esc_url( $avatar ),
+                       // Translators: %s is the group's name.
+                       sprintf( esc_html__( 'Group Profile photo of %s', 'buddypress' ), $group_name )
+               );
+       }
+
+       $display_cover_image = (bool) $block_args['displayCoverImage'];
+       if ( bp_is_active( 'groups', 'cover_image' ) && $display_cover_image ) {
+               $cover_image = bp_attachments_get_attachment(
+                       'url',
+                       array(
+                               'item_id'    => $group->id,
+                               'object_dir' => 'groups',
+                       )
+               );
+
+               if ( $cover_image ) {
+                       $cover_style = sprintf(
+                               ' style="background-image: url( %s );"',
+                               esc_url( $cover_image )
+                       );
+               }
+
+               $cover_container = sprintf(
+                       '<div class="bp-group-cover-image"%s></div>',
+                       $cover_style
+               );
+
+               $container_classes[] = 'has-cover';
+       }
+
+       $display_description = (bool) $block_args['displayDescription'];
+       if ( $display_description ) {
+               $group_description = bp_get_group_description( $group );
+               $group_content     = sprintf(
+                       '<div class="group-description-content">%s</div>',
+                       $group_description
+               );
+
+               $container_classes[] = 'has-description';
+       }
+
+       if ( $display_action_button ) {
+               $action_button = sprintf(
+                       '<div class="bp-profile-button">
+                               <a href="%1$s" class="button large primary button-primary" role="button">%2$s</a>
+                       </div>',
+                       esc_url( $group_link ),
+                       esc_html__( 'Visit Group', 'buddypress' )
+               );
+       }
+
+       $output = sprintf(
+               '<div class="%1$s">
+                       %2$s
+                       <div class="group-content">
+                               %3$s
+                               <div class="group-description">
+                                       <strong><a href="%4$s">%5$s</a></strong>
+                                       %6$s
+                                       %7$s
+                               </div>
+                       </div>
+               </div>',
+               implode( ' ', array_map( 'sanitize_html_class', $container_classes ) ),
+               $cover_container,
+               $avatar_container,
+               esc_url( $group_link ),
+               esc_html( $group_name ),
+               $group_content,
+               $action_button
+       );
+
+       // Compact all interesting parameters.
+       $params = array_merge( $block_args, compact( 'group_name', 'group_link', 'group_description', 'avatar', 'cover_image' ) );
+
+       /**
+        * Filter here to edit the output of the single group block.
+        *
+        * @since 6.0.0
+        *
+        * @param string          $output The HTML output of the block.
+        * @param BP_Groups_Group $group  The group object.
+        * @param array           $params The block extended parameters.
+        */
+       return apply_filters( 'bp_groups_render_group_block_output', $output, $group, $params );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/bp-groups/bp-groups-blocks.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcbpgroupsclassesclassbpgroupscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-groups/classes/class-bp-groups-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/classes/class-bp-groups-component.php 2020-03-25 07:39:22 UTC (rev 12579)
+++ trunk/src/bp-groups/classes/class-bp-groups-component.php   2020-03-25 07:47:37 UTC (rev 12580)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -130,6 +130,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'functions',
</span><span class="cx" style="display: block; padding: 0 10px">                        'notifications',
</span><span class="cx" style="display: block; padding: 0 10px">                        'cssjs',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        'blocks',
</ins><span class="cx" style="display: block; padding: 0 10px">                 );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Conditional includes.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -940,4 +941,60 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'BP_REST_Attachments_Group_Avatar_Endpoint',
</span><span class="cx" style="display: block; padding: 0 10px">                ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+       /**
+        * Register the BP Groups Blocks.
+        *
+        * @since 6.0.0
+        *
+        * @param array $blocks Optional. See BP_Component::blocks_init() for
+        *                      description.
+        */
+       public function blocks_init( $blocks = array() ) {
+               parent::blocks_init(
+                       array(
+                               'bp/group' => array(
+                                       'name'               => 'bp/group',
+                                       'editor_script'      => 'bp-group-block',
+                                       'editor_script_url'  => plugins_url( 'js/blocks/group.js', dirname(  __FILE__ ) ),
+                                       'editor_script_deps' => array(
+                                               'wp-blocks',
+                                               'wp-element',
+                                               'wp-components',
+                                               'wp-i18n',
+                                               'wp-editor',
+                                               'wp-compose',
+                                               'wp-data',
+                                               'wp-block-editor',
+                                               'bp-block-components',
+                                       ),
+                                       'style'              => 'bp-group-block',
+                                       'style_url'          => plugins_url( 'css/blocks/group.css', dirname( __FILE__ ) ),
+                                       'render_callback'    => 'bp_groups_render_group_block',
+                                       'attributes'         => array(
+                                               'itemID'              => array(
+                                                       'type'    => 'integer',
+                                                       'default' => 0,
+                                               ),
+                                               'avatarSize'          => array(
+                                                       'type'    => 'string',
+                                                       'default' => 'full',
+                                               ),
+                                               'displayDescription'  => array(
+                                                       'type'    => 'boolean',
+                                                       'default' => true,
+                                               ),
+                                               'displayActionButton' => array(
+                                                       'type'    => 'boolean',
+                                                       'default' => true,
+                                               ),
+                                               'displayCoverImage'   => array(
+                                                       'type'    => 'boolean',
+                                                       'default' => true,
+                                               ),
+                                       ),
+                               ),
+                       )
+               );
+       }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcbpgroupscssblocksgrouprtlcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/bp-groups/css/blocks/group-rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/css/blocks/group-rtl.css                              (rev 0)
+++ trunk/src/bp-groups/css/blocks/group-rtl.css        2020-03-25 07:47:37 UTC (rev 12580)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,118 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* CSS for the bp/group block */
+.bp-block-group {
+       position: relative;
+}
+
+.bp-block-group .group-content {
+       display: flex;
+}
+
+.bp-block-group.has-cover .group-content,
+.bp-block-group.has-cover .item-header-avatar,
+.bp-block-group.has-cover .group-description {
+       z-index: 2;
+}
+
+.bp-block-group .group-description {
+       width: 100%;
+}
+
+.bp-block-group.has-cover .group-description {
+       padding-top: 75px;
+}
+
+.bp-block-group.avatar-full .group-description {
+       padding-right: 35px;
+}
+
+.bp-block-group.has-cover .bp-group-cover-image {
+       background-color: #c5c5c5;
+       background-position: center top;
+       background-repeat: no-repeat;
+       background-size: cover;
+       border: 0;
+       display: block;
+       right: 0;
+       margin: 0;
+       padding: 0;
+       position: absolute;
+       top: 0;
+       width: 100%;
+       z-index: 1;
+       height: 150px;
+}
+
+.bp-block-group img.avatar {
+       width: auto;
+       height: auto;
+}
+
+.bp-block-group.avatar-none .item-header-avatar {
+       display: none;
+}
+
+.bp-block-group.avatar-none.has-cover {
+       min-height: 200px;
+}
+
+.bp-block-group.avatar-full {
+       min-height: 150px;
+}
+
+.bp-block-group.avatar-full.has-cover {
+       min-height: 300px;
+}
+
+.bp-block-group.avatar-full .item-header-avatar {
+       width: 180px;
+}
+
+.bp-block-group.has-cover.avatar-full .item-header-avatar {
+       width: 200px;
+}
+
+.bp-block-group.has-cover.avatar-full img.avatar {
+       border: solid 2px #fff;
+       background: rgba(255, 255, 255, 0.8);
+       margin-right: 20px;
+}
+
+.bp-block-group.has-cover .group-content {
+       padding-top: 75px;
+}
+
+.bp-block-group.avatar-thumb .item-header-avatar img.avatar {
+       margin-top: 15px;
+}
+
+.bp-block-group.avatar-thumb:not(.has-description) .group-content {
+       min-height: 50px;
+       align-items: center;
+}
+
+.bp-block-group .group-description-content {
+       width: 100%;
+       margin-bottom: 18px;
+}
+
+.bp-block-group.avatar-thumb .item-header-avatar {
+       width: 70px;
+}
+
+.bp-block-group.avatar-thumb.has-cover .item-header-avatar {
+       padding-top: 75px;
+}
+
+.bp-block-group .bp-profile-button {
+       width: 100%;
+       overflow: hidden;
+}
+
+.bp-block-group .bp-profile-button a.button {
+       margin: 18px 0 0;
+}
+
+.bp-block-group.has-description .bp-profile-button a.button {
+       display: block;
+       float: left;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/bp-groups/css/blocks/group-rtl.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcbpgroupscssblocksgroupcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/bp-groups/css/blocks/group.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/css/blocks/group.css                          (rev 0)
+++ trunk/src/bp-groups/css/blocks/group.css    2020-03-25 07:47:37 UTC (rev 12580)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,118 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* CSS for the bp/group block */
+.bp-block-group {
+       position: relative;
+}
+
+.bp-block-group .group-content {
+       display: flex;
+}
+
+.bp-block-group.has-cover .group-content,
+.bp-block-group.has-cover .item-header-avatar,
+.bp-block-group.has-cover .group-description {
+       z-index: 2;
+}
+
+.bp-block-group .group-description {
+       width: 100%;
+}
+
+.bp-block-group.has-cover .group-description {
+       padding-top: 75px;
+}
+
+.bp-block-group.avatar-full .group-description {
+       padding-left: 35px;
+}
+
+.bp-block-group.has-cover .bp-group-cover-image {
+       background-color: #c5c5c5;
+       background-position: center top;
+       background-repeat: no-repeat;
+       background-size: cover;
+       border: 0;
+       display: block;
+       left: 0;
+       margin: 0;
+       padding: 0;
+       position: absolute;
+       top: 0;
+       width: 100%;
+       z-index: 1;
+       height: 150px;
+}
+
+.bp-block-group img.avatar {
+       width: auto;
+       height: auto;
+}
+
+.bp-block-group.avatar-none .item-header-avatar {
+       display: none;
+}
+
+.bp-block-group.avatar-none.has-cover {
+       min-height: 200px;
+}
+
+.bp-block-group.avatar-full {
+       min-height: 150px;
+}
+
+.bp-block-group.avatar-full.has-cover {
+       min-height: 300px;
+}
+
+.bp-block-group.avatar-full .item-header-avatar {
+       width: 180px;
+}
+
+.bp-block-group.has-cover.avatar-full .item-header-avatar {
+       width: 200px;
+}
+
+.bp-block-group.has-cover.avatar-full img.avatar {
+       border: solid 2px #fff;
+       background: rgba(255, 255, 255, 0.8);
+       margin-left: 20px;
+}
+
+.bp-block-group.has-cover .group-content {
+       padding-top: 75px;
+}
+
+.bp-block-group.avatar-thumb .item-header-avatar img.avatar {
+       margin-top: 15px;
+}
+
+.bp-block-group.avatar-thumb:not(.has-description) .group-content {
+       min-height: 50px;
+       align-items: center;
+}
+
+.bp-block-group .group-description-content {
+       width: 100%;
+       margin-bottom: 18px;
+}
+
+.bp-block-group.avatar-thumb .item-header-avatar {
+       width: 70px;
+}
+
+.bp-block-group.avatar-thumb.has-cover .item-header-avatar {
+       padding-top: 75px;
+}
+
+.bp-block-group .bp-profile-button {
+       width: 100%;
+       overflow: hidden;
+}
+
+.bp-block-group .bp-profile-button a.button {
+       margin: 18px 0 0;
+}
+
+.bp-block-group.has-description .bp-profile-button a.button {
+       display: block;
+       float: right;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/bp-groups/css/blocks/group.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span></div>

</body>
</html>