Changeset 4744
- Timestamp:
- 07/21/2011 07:58:13 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
bp-activity/bp-activity-template.php (modified) (1 diff)
-
bp-themes/bp-default/_inc/css/default.css (modified) (1 diff)
-
bp-themes/bp-default/activity/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r4689 r4744 712 712 // Insert the permalink 713 713 if ( !bp_is_single_activity() ) 714 $content = apply_filters_ref_array( 'bp_activity_permalink', array( sprintf( '%1$s <a href="%2$s" class="view " title="%3$s">%4$s</a>', $content, bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity ), esc_attr__( 'View Discussion', 'buddypress' ), $time_since ), &$activities_template->activity ) );714 $content = apply_filters_ref_array( 'bp_activity_permalink', array( sprintf( '%1$s <a href="%2$s" class="view activity-time-since" title="%3$s">%4$s</a>', $content, bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity ), esc_attr__( 'View Discussion', 'buddypress' ), $time_since ), &$activities_template->activity ) ); 715 715 else 716 716 $content .= str_pad( $time_since, strlen( $time_since ) + 2, ' ', STR_PAD_BOTH ); -
trunk/bp-themes/bp-default/_inc/css/default.css
r4740 r4744 1287 1287 padding: 4px 8px; 1288 1288 } 1289 a.activity-time-since { 1290 color: #888; 1291 text-decoration: none; 1292 } 1293 a.activity-time-since:hover { 1294 text-decoration: underline; 1295 } 1289 1296 a.bp-primary-action, 1290 1297 #reply-title small a { -
trunk/bp-themes/bp-default/activity/comment.php
r4668 r4744 25 25 <?php 26 26 /* translators: 1: user profile link, 2: user name, 3: activity permalink, 3: activity timestamp */ 27 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" >%4$s</a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_thread_permalink(), bp_get_activity_comment_date_recorded() );27 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_thread_permalink(), bp_get_activity_comment_date_recorded() ); 28 28 ?> 29 29 </div>
Note: See TracChangeset
for help on using the changeset viewer.