diff --git src/bp-activity/admin/css/admin.css src/bp-activity/admin/css/admin.css
index 2d60dd8..9abbc2d 100644
|
|
|
83 | 83 | body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { |
84 | 84 | display: table-cell; |
85 | 85 | } |
86 | | } |
87 | | No newline at end of file |
| 86 | } |
| 87 | |
| 88 | #bp-activities-form .activity-author-avatar { |
| 89 | font-weight: bold; |
| 90 | } |
diff --git src/bp-activity/bp-activity-admin.php src/bp-activity/bp-activity-admin.php
index 4157d6c..5a6931e 100644
|
|
class BP_Activity_List_Table extends WP_List_Table { |
1393 | 1393 | |
1394 | 1394 | <div class="alignleft actions"> |
1395 | 1395 | <label for="activity-type" class="screen-reader-text"><?php _e( 'Filter by activity type', 'buddypress' ); ?></label> |
1396 | | <select name="activity_type" id="activity-type"> |
| 1396 | <select name="activity_type" id="activity-type"> |
1397 | 1397 | <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option> |
1398 | 1398 | |
1399 | 1399 | <?php foreach ( $activity_actions as $component => $actions ) : ?> |
… |
… |
class BP_Activity_List_Table extends WP_List_Table { |
1614 | 1614 | */ |
1615 | 1615 | function column_response( $item ) { |
1616 | 1616 | // Is $item is a root activity? |
| 1617 | ?> |
| 1618 | |
| 1619 | <div class="response-links"> |
| 1620 | |
| 1621 | <?php |
| 1622 | // Activity permalink |
| 1623 | if ( ! $item['is_spam'] ) { |
| 1624 | printf( __( '<a href="%1$s" class="comments-view-item-link">View Activity</a>', 'buddypress' ), bp_activity_get_permalink( $item['id'], (object) $item ) ); |
| 1625 | } |
1617 | 1626 | |
1618 | 1627 | /** |
1619 | 1628 | * Filters default list of default root activity types. |
… |
… |
class BP_Activity_List_Table extends WP_List_Table { |
1630 | 1639 | // If the activity has comments, display a link to the activity's permalink, with its comment count in a speech bubble |
1631 | 1640 | if ( $comment_count ) { |
1632 | 1641 | $title_attr = sprintf( _n( '%s related activity', '%s related activities', $comment_count, 'buddypress' ), number_format_i18n( $comment_count ) ); |
1633 | | printf( '<a href="%1$s" title="%2$s" class="post-com-count"><span class="comment-count">%3$s</span></a>', esc_url( $root_activity_url ), esc_attr( $title_attr ), number_format_i18n( $comment_count ) ); |
| 1642 | printf( '<div class="activity-comment-count"><a href="%1$s" title="%2$s" class="post-com-count post-com-count-approved"><span class="comment-count comment-count-approved">%3$s</span></a></div>', esc_url( $root_activity_url ), esc_attr( $title_attr ), number_format_i18n( $comment_count ) ); |
1634 | 1643 | } |
1635 | 1644 | |
1636 | 1645 | // For non-root activities, display a link to the replied-to activity's author's profile |
1637 | 1646 | } else { |
1638 | | echo '<strong>' . get_avatar( $this->get_activity_user_id( $item['item_id'] ), '32' ) . ' ' . bp_core_get_userlink( $this->get_activity_user_id( $item['item_id'] ) ) . '</strong><br />'; |
| 1647 | echo '<div class="activity-author-avatar">' . get_avatar( $this->get_activity_user_id( $item['item_id'] ), '32' ) . ' ' . bp_core_get_userlink( $this->get_activity_user_id( $item['item_id'] ) ) . '</div>'; |
1639 | 1648 | } |
| 1649 | ?> |
1640 | 1650 | |
1641 | | // Activity permalink |
1642 | | if ( ! $item['is_spam'] ) |
1643 | | printf( __( '<a href="%1$s">View Activity</a>', 'buddypress' ), bp_activity_get_permalink( $item['id'], (object) $item ) ); |
| 1651 | </div> |
| 1652 | |
| 1653 | <?php |
1644 | 1654 | } |
1645 | 1655 | |
1646 | 1656 | /** |