Skip to:
Content

BuddyPress.org

Changeset 8242


Ignore:
Timestamp:
04/06/2014 03:56:48 PM (10 years ago)
Author:
boonebgorges
Message:

On Extended Profile dashboard panel, move View Profile button to take up less space

Fixes #5517

Props karmatosed

Location:
trunk/bp-members
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/admin/css/admin.css

    r8241 r8242  
    9797}
    9898
     99#community-profile-page #submitdiv #publishing-action {
     100    float: none;
     101    width: 100%;
     102}
     103
     104.bp-view-profile {
     105    float: left;
     106}
     107
    99108.alt {
    100109    background: none;
  • trunk/bp-members/bp-members-admin.php

    r8217 r8242  
    630630        <div class="submitbox" id="submitcomment">
    631631            <div id="minor-publishing">
    632                 <div id="minor-publishing-actions">
    633                     <div id="preview-action">
    634                         <a class="button preview" href="<?php echo esc_url( bp_core_get_user_domain( $user->ID ) ); ?>" target="_blank"><?php esc_html_e( 'View Profile', 'buddypress' ); ?></a>
    635                     </div>
    636 
    637                     <div class="clear"></div>
    638                 </div><!-- #minor-publishing-actions -->
    639 
    640632                <div id="misc-publishing-actions">
    641633                    <?php
     
    667659
    668660            <div id="major-publishing-actions">
     661
    669662                <div id="publishing-action">
     663                    <a class="button bp-view-profile" href="<?php echo esc_url( bp_core_get_user_domain( $user->ID ) ); ?>" target="_blank"><?php esc_html_e( 'View Profile', 'buddypress' ); ?></a>
    670664                    <?php submit_button( esc_html__( 'Update Profile', 'buddypress' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?>
    671665                </div>
Note: See TracChangeset for help on using the changeset viewer.