Skip to:
Content

BuddyPress.org

Changeset 12077


Ignore:
Timestamp:
05/10/2018 07:10:17 PM (6 years ago)
Author:
djpaul
Message:

Templates, Nouveau: improve heading levels on the Group creation/mgnt screens.

See #7728

Props mercime

Location:
trunk/src/bp-templates/bp-nouveau/buddypress
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php

    r12074 r12077  
    1010?>
    1111
    12 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    13     <?php _e( 'Invite Members', 'buddypress' ); ?>
    14 </h2>
     12<?php if ( bp_is_group_create() ) : ?>
     13
     14    <h3 class="bp-screen-title creation-step-name">
     15        <?php esc_html_e( 'Invite Members', 'buddypress' ); ?>
     16    </h3>
     17
     18<?php else : ?>
     19
     20    <h2 class="bp-screen-title">
     21        <?php esc_html_e( 'Invite Members', 'buddypress' ); ?>
     22    </h2>
     23
     24<?php endif; ?>
    1525
    1626<div id="group-invites-container">
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/edit-details.php

    r12026 r12077  
    66 */
    77?>
    8 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    9     <?php esc_html_e( 'Edit your group\'s name &amp; description', 'buddypress' ); ?>
    10 </h2>
     8
     9<?php if ( bp_is_group_create() ) : ?>
     10
     11    <h3 class="bp-screen-title creation-step-name">
     12        <?php _e( 'Enter Group Name &amp; Description', 'buddypress' ); ?>
     13    </h3>
     14
     15<?php else : ?>
     16
     17    <h2 class="bp-screen-title">
     18        <?php _e( 'Edit Group Name &amp; Description', 'buddypress' ); ?>
     19    </h2>
     20
     21<?php endif; ?>
    1122
    1223<label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php

    r11913 r12077  
    66 */
    77?>
    8 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    9     <?php _e( 'Group Avatar', 'buddypress' ); ?>
    10 </h2>
     8
     9<?php if ( bp_is_group_create() ) : ?>
     10
     11    <h3 class="bp-screen-title creation-step-name">
     12        <?php esc_html_e( 'Upload Group Avatar', 'buddypress' ); ?>
     13    </h3>
     14
     15<?php else : ?>
     16
     17    <h2 class="bp-screen-title">
     18        <?php esc_html_e( 'Change Group Avatar', 'buddypress' ); ?>
     19    </h2>
     20
     21<?php endif; ?>
    1122
    1223<?php if ( ! bp_is_group_create() ) : ?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-cover-image.php

    r11899 r12077  
    99<?php if ( bp_is_group_create() ) : ?>
    1010
    11     <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    12         <?php _e( 'Upload a Cover Image', 'buddypress' ); ?>
     11    <h2 class="bp-screen-title creation-step-name">
     12        <?php esc_html_e( 'Upload Cover Image', 'buddypress' ); ?>
    1313    </h2>
    1414
     
    1717<?php else : ?>
    1818
    19     <h2 class="bp-screen-title"><?php _e( 'Change Cover Image', 'buddypress' ); ?></h2>
     19    <h2 class="bp-screen-title">
     20        <?php esc_html_e( 'Change Cover Image', 'buddypress' ); ?>
     21    </h2>
    2022
    2123<?php endif; ?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php

    r11899 r12077  
    77?>
    88
    9 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) : ?>creation-step-name<?php endif; ?>">
    10     <?php _e( 'Group Settings', 'buddypress' ); ?>
    11 </h2>
     9<?php if ( bp_is_group_create() ) : ?>
     10
     11    <h3 class="bp-screen-title creation-step-name">
     12        <?php esc_html_e( 'Select Group Settings', 'buddypress' ); ?>
     13    </h3>
     14
     15<?php else : ?>
     16
     17    <h2 class="bp-screen-title">
     18        <?php esc_html_e( 'Change Group Settings', 'buddypress' ); ?>
     19    </h2>
     20
     21<?php endif; ?>
    1222
    1323<div class="group-settings-selections">
Note: See TracChangeset for help on using the changeset viewer.