Making WordPress.org


Ignore:
Timestamp:
01/28/2016 04:21:19 PM (10 years ago)
Author:
iandunn
Message:

WordCamp Budgets: Move read-only fields to Status metabox.

Organizers can't edit these fields, so they fit better in the Status box than the General Info one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-status.php

    r1816 r2397  
    1 <div id="submitpost" class="submitbox">
     1<div id="submitpost" class="wcb submitbox">
    22    <div id="minor-publishing">
    33        <div id="misc-publishing-actions">
     4
     5            <div class="misc-pub-section">
     6                <?php _e( 'ID:', 'wordcamporg' ); ?>
     7                <span>
     8                    <?php echo esc_html( $this->get_field_value( 'request_id', $post ) ); ?>
     9                </span>
     10            </div>
     11
     12            <div class="misc-pub-section">
     13                <?php _e( 'Requested By:', 'wordcamporg' ); ?>
     14                <span>
     15                    <?php echo esc_html( $this->get_field_value( 'requester', $post ) ); ?>
     16                </span>
     17            </div>
     18
     19            <div class="misc-pub-section">
     20                <?php $this->render_text_input( $post, 'Date Vendor was Paid', 'date_vendor_paid', '', 'date', array(), $date_vendor_paid_readonly ); ?>
     21            </div>
     22
    423            <div class="misc-pub-section misc-pub-post-status">
    524                <label for="post_status"><?php _e( 'Status:' ) ?></label>
Note: See TracChangeset for help on using the changeset viewer.