Skip to:
Content

BuddyPress.org

Changeset 4669


Ignore:
Timestamp:
07/17/2011 06:17:19 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Tweak the member header styling - Switch default button text on public and private messages and remove overly verbose mention descriptions.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-template.php

    r4668 r4669  
    14001400            'wrapper_id'        => 'post-mention',
    14011401            'link_href'         => bp_get_send_public_message_link(),
    1402             'link_title'        => __( 'Mention this user in a new public message, this will send the user a notification to get their attention.', 'buddypress' ),
    1403             'link_text'         => __( 'Mention this User', 'buddypress' ),
     1402            'link_title'        => __( 'Send a public message on your activity stream.', 'buddypress' ),
     1403            'link_text'         => __( 'Public Message', 'buddypress' ),
    14041404            'link_class'        => 'activity-button mention'
    14051405        );
  • trunk/bp-messages/bp-messages-template.php

    r4638 r4669  
    585585                'link_href'         => bp_get_send_private_message_link(),
    586586                'link_title'        => __( 'Send a private message to this user.', 'buddypress' ),
    587                 'link_text'         => __( 'Send Private Message', 'buddypress' ),
     587                'link_text'         => __( 'Private Message', 'buddypress' ),
    588588                'link_class'        => 'send-message',
    589589            ) )
  • trunk/bp-themes/bp-default/_inc/css/default.css

    r4668 r4669  
    18951895    padding: 1px 8px;
    18961896}
     1897span.user-nicename {
     1898    display: inline-block;
     1899    padding: 1px 8px;
     1900    font-size: 11px;
     1901    font-family: Consolas, Monaco, monospace;
     1902    background: #f4f4f4;
     1903    border-bottom: 1px solid #ccc;
     1904    border-right: 1px solid #ccc;
     1905    color: #aaa;
     1906    -moz-border-radius: 3px;
     1907    -webkit-border-radius: 3px;
     1908    border-radius: 3px;
     1909    font-weight: normal;
     1910    margin-top: 6px;
     1911    text-decoration: none;
     1912}
    18971913span.activity,
    18981914div#message p {
  • trunk/bp-themes/bp-default/activity/post-form.php

    r4632 r4669  
    1313
    1414    <?php do_action( 'bp_before_activity_post_form' ); ?>
    15 
    16     <?php if ( isset( $_GET['r'] ) ) : ?>
    17         <div id="message" class="info">
    18             <p><?php printf( __( 'You are mentioning %s in a new update, this user will be sent a notification of your message.', 'buddypress' ), bp_get_mentioned_user_display_name( $_GET['r'] ) ); ?></p>
    19         </div>
    20     <?php endif; ?>
    2115
    2216    <div id="whats-new-avatar">
  • trunk/bp-themes/bp-default/members/single/member-header.php

    r4285 r4669  
    2222<div id="item-header-content">
    2323
    24     <h2 class="fn">
     24    <h2>
    2525        <a href="<?php bp_displayed_user_link(); ?>"><?php bp_displayed_user_fullname(); ?></a>
    26         <span class="highlight">@<?php bp_displayed_user_username(); ?> <span title="<?php printf( __( '%1$s is a unique identifier for %2$s that you can type into any message on this site. %2$s will be sent a notification and a link to your message any time you use it.', 'buddypress' ), '@' . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ) ); ?>">?</span></span>
    2726    </h2>
     27
     28    <span class="user-nicename">@<?php bp_displayed_user_username(); ?></span>
    2829    <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    2930
Note: See TracChangeset for help on using the changeset viewer.