Skip to:
Content

BuddyPress.org

Changeset 11913


Ignore:
Timestamp:
03/29/2018 01:40:28 PM (7 years ago)
Author:
mercime
Message:

Nouveau: Fix skipped heading levels.

See #7728.

Location:
trunk/src/bp-templates/bp-nouveau
Files:
6 edited

Legend:

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

    r11899 r11913  
    142142    <# if ( undefined !== data.content ) { #>
    143143
    144         <h4 class=" message-title preview-thread-title"><?php esc_html_e( 'Active conversation:', 'buddypress' ); ?><span class="messages-title"> <# print( data.subject ); #></span></h4>
     144        <h2 class="message-title preview-thread-title"><?php esc_html_e( 'Active conversation:', 'buddypress' ); ?><span class="messages-title"> <# print( data.subject ); #></span></h2>
    145145        <div class="preview-content">
    146146            <header class="preview-pane-header">
     
    193193
    194194<script type="text/html" id="tmpl-bp-messages-single-header">
    195     <h4 id="message-subject" class="message-title single-thread-title"><# print( data.subject ); #></h4>
     195    <h2 id="message-subject" class="message-title single-thread-title"><# print( data.subject ); #></h2>
    196196    <header class="single-message-thread-header">
    197197        <# if ( undefined !== data.recipients ) { #>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php

    r11899 r11913  
    8484?>
    8585
    86     <h4><?php _e( 'Crop Group Profile Photo', 'buddypress' ); ?></h4>
     86    <h2><?php _e( 'Crop Group Profile Photo', 'buddypress' ); ?></h2>
    8787
    8888    <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/plugins.php

    r11899 r11913  
    2727<?php if ( has_action( 'bp_template_title' ) ) : ?>
    2828
    29     <h3><?php bp_nouveau_plugin_hook( 'title' ); ?></h3>
     29    <h2><?php bp_nouveau_plugin_hook( 'title' ); ?></h2>
    3030
    3131<?php endif; ?>
  • trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css

    r11906 r11913  
    31293129}
    31303130
    3131 .bp-messages-content #thread-preview h4:first-child,
    3132 .bp-messages-content #bp-message-thread-header h4:first-child {
     3131.bp-messages-content #thread-preview h2:first-child,
     3132.bp-messages-content #bp-message-thread-header h2:first-child {
    31333133    background-color: #eaeaea;
    31343134    color: #555;
     3135    font-weight: 700;
    31353136    margin: 0;
    31363137    padding: 0.5em;
  • trunk/src/bp-templates/bp-nouveau/css/buddypress.css

    r11906 r11913  
    31293129}
    31303130
    3131 .bp-messages-content #thread-preview h4:first-child,
    3132 .bp-messages-content #bp-message-thread-header h4:first-child {
     3131.bp-messages-content #thread-preview h2:first-child,
     3132.bp-messages-content #bp-message-thread-header h2:first-child {
    31333133    background-color: #eaeaea;
    31343134    color: #555;
     3135    font-weight: 700;
    31353136    margin: 0;
    31363137    padding: 0.5em;
  • trunk/src/bp-templates/bp-nouveau/sass/_nouveau_messages.scss

    r11686 r11913  
    395395    }
    396396
    397     #thread-preview h4:first-child,
    398     #bp-message-thread-header h4:first-child {
     397    #thread-preview h2:first-child,
     398    #bp-message-thread-header h2:first-child {
    399399        background-color: $light-grey;
    400400        color: $bp-text;
     401        font-weight: 700;
    401402        margin: 0;
    402403        padding: 0.5em;
Note: See TracChangeset for help on using the changeset viewer.