Changeset 12104 for trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php
- Timestamp:
- 05/21/2018 01:00:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php
r12082 r12104 25 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 ) ) ); ?>"> 29 <?php 30 /* translators: %s = last activity timestamp (e.g. "active 1 hour ago") */ 31 printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); 32 ?> 33 </p> 27 34 28 29 <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p>30 <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></p>31 35 <?php echo bp_nouveau_group_meta()->group_type_list; ?> 32 33 36 <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?> 34 37 … … 53 56 </div><!-- #cover-image-container --> 54 57 55 <?php 56 <?php if ( bp_nouveau_group_meta()->description ) {?>57 <div class="desc-wrap">58 <div class="group-description">59 <?php echo bp_nouveau_group_meta()->description; ?>60 </div><!-- //.group_description -->61 </div>62 <?php }?>58 <?php if ( ! bp_nouveau_groups_front_page_description() ) : ?> 59 <?php if ( ! empty( bp_nouveau_group_meta()->description ) ) : ?> 60 <div class="desc-wrap"> 61 <div class="group-description"> 62 <?php echo esc_html( bp_nouveau_group_meta()->description ); ?> 63 </div><!-- //.group_description --> 64 </div> 65 <?php endif; ?> 63 66 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.