Changeset 8141 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-invoice/metabox-status.php
- Timestamp:
- 01/25/2019 03:51:59 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-invoice/metabox-status.php
r4967 r8141 2 2 3 3 namespace WordCamp\Budgets\Sponsor_Invoices; 4 use WP_Post; 5 4 6 defined( 'WPINC' ) or die(); 7 8 /** 9 * @var WP_Post $post 10 * @var string $delete_text 11 * @var array $allowed_edit_statuses 12 * @var bool $current_user_can_edit_request 13 * @var bool $current_user_can_submit_request 14 */ 5 15 6 16 ?> … … 41 51 42 52 <div id="major-publishing-actions"> 43 <?php if ( $current_user_can_edit_request ) : ?>53 <?php if ( $current_user_can_edit_request && $current_user_can_submit_request ) : ?> 44 54 45 55 <div id="delete-action"> … … 64 74 <div class="clear"></div> 65 75 76 <?php elseif ( ! $current_user_can_submit_request ) : ?> 77 78 <p> 79 <?php _e( "Invoices can't be submitted until your venue contract has been signed.", 'wordcamporg' ); ?> 80 </p> 81 66 82 <?php else : ?> 67 83
Note: See TracChangeset
for help on using the changeset viewer.