Skip to content

Commit c2f5e4a

Browse files
committed
allow MC members just to see the result of the reviewing
1 parent 30657c9 commit c2f5e4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/cc-global-network/admin/user-application-page.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -540,13 +540,12 @@ function ccgn_application_user_page_render_change_vouchers ( $applicant_id,
540540

541541
function ccgn_application_users_page_render_state ( $applicant_id, $state ) {
542542
$reviewed = get_user_meta($applicant_id, 'ccgn-user-mc-review', true);
543-
if ( !empty( $reviewed ) && ( ccgn_current_user_is_final_approver() ) ) {
543+
if ( !empty( $reviewed ) && ( ccgn_current_user_is_membership_council() || ccgn_current_user_is_final_approver() ) ) {
544544
$user = get_user_by('ID', $reviewed['user']);
545545
echo __('<h3>Reviewed by MC</h3>');
546546
echo __('<p><strong>Vote:</strong> '.$reviewed['result'].'</p>');
547547
echo __('<p><strong>Note:</strong> '.$reviewed['note'].'</p>');
548548
echo __('<p><strong>date:</strong> '.$reviewed['date'].'</p>');
549-
echo __('<p><strong>Reviewed by:</strong> '.$user->display_name.'</p>');
550549
}
551550
if ( in_array( $state, CCGN_APPLICATION_STATE_CAN_BE_PRE_APPROVED ) ) {
552551
echo _('<h3>Pre-Approve</h3>');

0 commit comments

Comments
 (0)