Making WordPress.org


Ignore:
Timestamp:
08/16/2017 01:10:07 PM (8 years ago)
Author:
danielbachhuber
Message:

phpunit-test-reporter: Misc display changes

  • Use rewrite rule hackery for consistent breadcrumbs
  • Display test result timing when present
  • Drop empty column from table view

See #2981

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/parts/single-result.php

    r5805 r5806  
    2424<?php endif; ?>
    2525
    26 <p><a href="<?php echo esc_url( get_permalink( $report->ID ) ); ?>" title="<?php echo esc_attr( $status_title ); ?>" class="<?php echo esc_attr( 'ptr-status-badge ptr-status-badge-' . strtolower( $status ) ); ?>"><?php echo esc_html( $status ); ?></a></p>
     26<p><a href="<?php echo esc_url( get_permalink( $report->ID ) ); ?>" title="<?php echo esc_attr( $status_title ); ?>" class="<?php echo esc_attr( 'ptr-status-badge ptr-status-badge-' . strtolower( $status ) ); ?>"><?php echo esc_html( $status ); ?></a>
     27<?php
     28$display_time = Display::get_display_time( $report->ID );
     29if ( $display_time ) :
     30?>
     31    <br /><small><?php echo esc_html( $display_time ); ?></small>
     32<?php endif; ?>
     33</p>
    2734
    2835<h2>Environment</h2>
Note: See TracChangeset for help on using the changeset viewer.