Changeset 12789 for trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php
- Timestamp:
- 11/17/2020 07:31:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php
r12595 r12789 4 4 * 5 5 * @since 3.0.0 6 * @version 3.2.06 * @version 7.0.0 7 7 */ 8 8 ?> … … 22 22 <?php endif; ?> 23 23 24 <?phpif ( ! bp_nouveau_groups_front_page_description() ) : ?>25 <div id="item-header-content">24 <?php if ( ! bp_nouveau_groups_front_page_description() ) : ?> 25 <div id="item-header-content"> 26 26 27 <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p> 28 <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"> 27 <?php if ( bp_nouveau_group_has_meta( 'status' ) ) : ?> 28 <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_the_group_meta( array( 'keys' => 'status' ) ) ); ?></strong></p> 29 <?php endif; ?> 30 31 <p class="activity"> 32 <?php 33 printf( 34 /* translators: %s: last activity timestamp (e.g. "active 1 hour ago") */ 35 esc_html__( 'Active %s', 'buddypress' ), 36 sprintf( 37 '<span data-livestamp="%1$s">%2$s</span>', 38 bp_core_get_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ), 39 esc_html( bp_get_group_last_active() ) 40 ) 41 ); 42 ?> 43 </p> 44 29 45 <?php 30 /* translators: %s: last activity timestamp (e.g. "active 1 hour ago") */ 31 printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); 46 bp_group_type_list( 47 bp_get_group_id(), 48 array( 49 'label' => __( 'Group Types', 'buddypress' ), 50 'list_element' => 'span', 51 ) 52 ); 32 53 ?> 33 </p>34 54 35 <?php echo bp_nouveau_group_meta()->group_type_list; ?> 36 <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?> 55 <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?> 37 56 38 <?php if ( bp_nouveau_group_has_meta_extra() ) : ?>39 <div class="item-meta">57 <?php if ( bp_nouveau_group_has_meta_extra() ) : ?> 58 <div class="item-meta"> 40 59 41 <?php echo bp_nouveau_group_meta()->extra; ?>60 <?php echo bp_nouveau_the_group_meta( array( 'keys' => 'extra' ) ); ?> 42 61 43 </div><!-- .item-meta -->44 <?php endif; ?>62 </div><!-- .item-meta --> 63 <?php endif; ?> 45 64 46 <?php bp_nouveau_group_header_buttons(); ?>65 <?php bp_nouveau_group_header_buttons(); ?> 47 66 48 </div><!-- #item-header-content -->49 <?php endif; ?>67 </div><!-- #item-header-content --> 68 <?php endif; ?> 50 69 51 70 <?php bp_get_template_part( 'groups/single/parts/header-item-actions' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.