admin_pages/registrations/EE_Registrations_List_Table.class.php 1 location
|
@@ 732-742 (lines=11) @@
|
729 |
|
|
730 |
|
$filtered_messages_link = ''; |
731 |
|
//message list table link (filtered by REG_ID |
732 |
|
if ( EE_Registry::instance()->CAP->current_user_can( 'ee_read_global_messages', 'view_filtered_messages' ) ) { |
733 |
|
$filtered_messages_link = '<li>' |
734 |
|
. EEH_MSG_Template::get_message_action_link( |
735 |
|
'see_notifications_for', |
736 |
|
null, |
737 |
|
array( |
738 |
|
'_REG_ID' => $item->ID() |
739 |
|
) |
740 |
|
) |
741 |
|
. '</li>'; |
742 |
|
} |
743 |
|
|
744 |
|
return $this->_action_string( $view_lnk . $edit_lnk . $resend_reg_lnk . $view_txn_lnk . $dl_invoice_lnk . $filtered_messages_link, $item, 'ul', 'reg-overview-actions-ul' ); |
745 |
|
} |
caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php 1 location
|
@@ 398-407 (lines=10) @@
|
395 |
|
$reports_link = EE_Admin_Page::add_query_args_and_nonce( $reports_query_args, REG_ADMIN_URL ); |
396 |
|
$actionlinks[] = '<a href="' . $reports_link . '" title="' . esc_attr__('View Report', 'event_espresso') . '"><div class="dashicons dashicons-chart-bar"></div></a>' . "\n\t"; |
397 |
|
} |
398 |
|
if ( EE_Registry::instance()->CAP->current_user_can( 'ee_read_global_messages', 'view_filtered_messages' ) ) { |
399 |
|
EE_Registry::instance()->load_helper( 'MSG_Template' ); |
400 |
|
$actionlinks[] = EEH_MSG_Template::get_message_action_link( |
401 |
|
'see_notifications_for', |
402 |
|
null, |
403 |
|
array( |
404 |
|
'EVT_ID' => $event->ID() |
405 |
|
) |
406 |
|
); |
407 |
|
} |
408 |
|
return $actionlinks; |
409 |
|
} |
410 |
|
|