Skip to:
Content

BuddyPress.org

Changeset 6796


Ignore:
Timestamp:
02/15/2013 11:46:20 AM (12 years ago)
Author:
johnjamesjacoby
Message:

bp-legacy:

  • Move "View Conversation" link into .activity-meta wrapper.
  • Fixes otherwise out-of-place link with no additional styling in action/content area.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/activity/entry.php

    r6551 r6796  
    4242        <?php endif; ?>
    4343
    44         <?php if ( bp_get_activity_type() == 'activity_comment' ) : ?>
    45 
    46             <div class="activity-inreplyto">
    47                 <a href="<?php bp_activity_thread_permalink(); ?>" class="view" title="<?php _e( 'View Conversation', 'buddypress' ); ?>"><?php _e( 'View Conversation', 'buddypress' ); ?></a>
    48             </div>
    49 
    50         <?php endif; ?>
    51 
    5244        <?php do_action( 'bp_activity_entry_content' ); ?>
    5345
    54         <?php if ( is_user_logged_in() ) : ?>
     46        <div class="activity-meta">
    5547
    56             <div class="activity-meta">
     48            <?php if ( bp_get_activity_type() == 'activity_comment' ) : ?>
     49
     50                <a href="<?php bp_activity_thread_permalink(); ?>" class="button view bp-secondary-action" title="<?php _e( 'View Conversation', 'buddypress' ); ?>"><?php _e( 'View Conversation', 'buddypress' ); ?></a>
     51
     52            <?php endif; ?>
     53
     54            <?php if ( is_user_logged_in() ) : ?>
    5755
    5856                <?php if ( bp_activity_can_comment() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.