WordPress.org

Making WordPress.org

Changeset 5535


Ignore:
Timestamp:
06/02/2017 07:30:48 PM (3 years ago)
Author:
coreymckrill
Message:

WordCamp Sponsors: Improvements to Invoice metabox

  • De-emphasizes the "existing invoices" heading and removes the word "edit" since they can't always be edited.
  • Removes the redundant "add invoice" heading.

Note that I didn't remove the link to the existing invoice in the list,
like the original patch had, since it can still be useful to view the
invoice details, even if they can't be edited.

Props SergeyBiryukov
Fixes #1831

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-invoice-sponsor.php

    r4171 r5535  
    99    <?php if ( $existing_invoices ) : ?>
    1010
    11         <h3>
    12             <?php _e( 'Edit Existing Invoices:', 'wordcamporg' ); ?>
    13         </h3>
     11        <p>
     12            <strong><?php _e( 'Existing Invoices:', 'wordcamporg' ); ?></strong>
     13        </p>
    1414
    1515        <ul class="ul-disc">
     
    2525        </ul>
    2626
    27         <h3>
    28             <?php _e( 'Add a New Invoice:', 'wordcamporg' ); ?>
    29         </h3>
    30 
    3127    <?php endif; ?>
    3228
Note: See TracChangeset for help on using the changeset viewer.