Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/17/2020 07:31:44 PM (5 years ago)
Author:
imath
Message:

BP Nouveau: improve the way Groups template meta data are managed

Deprecate bp_nouveau_group_meta() and introduce bp_nouveau_the_group_meta() as a replacement. This function is used into BP Nouveau template parts to output specific Groups data mainly inside the .item-meta container of the Groups templates.

Stop using bp_nouveau_group_meta() to display Group Types inside the Group's header (and actually make sure the regular and cover image headers are outputting the Group Types if necessary). BP Nouveau is now directly using the BP Groups template tag bp_group_type_list().

Finally, make sure the Group's last activity .item-meta container always shows the "Active" word before the human time diff we're live updating using JavaScript.

Fixes #8391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_group_header.scss

    r12215 r12789  
    11// BP Single Group Header Styles.
    2 // @version 3.0.0
     2// @since 3.0.0
     3// @version 7.0.0
    34
    45.groups-header {
    56
    67    .bp-group-type-list {
     8
     9        @include font-size(18);
    710        margin: 0;
     11        color: $black;
     12        display: flex;
     13
     14        strong {
     15            padding-right: $pad-med;
     16            white-space: nowrap;
     17        }
    818    }
    919
Note: See TracChangeset for help on using the changeset viewer.