Making WordPress.org

Changeset 4818


Ignore:
Timestamp:
01/28/2017 05:17:42 PM (10 years ago)
Author:
samuelsidler
Message:

Make/Core Trac Components: Change some markup to improve table display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php

    r4305 r4818  
    427427                }
    428428                echo '<table class="trac-summary">';
    429                 echo '<tr><th class="title">' . $this->trac_query_link( $num_open_tickets_string, array( 'component' => $component ) ) . '</th>';
     429                echo '<thead><tr><th class="title">' . $this->trac_query_link( $num_open_tickets_string, array( 'component' => $component ) ) . '</th>';
    430430                foreach ( $component_type[ $component ] as $type => $count ) {
    431431                        if ( $count ) {
    … …  
    433433                        }
    434434                }
    435                 echo '</tr>';
     435                echo '</tr></thead>';
    436436                foreach ( $component_milestone_type[ $component ] as $milestone => $type_count ) {
    437437                        echo '<tr><th>' . $this->trac_query_link( $milestone, array( 'component' => $component, 'milestone' => $milestone, 'group' => $type ) ) . '</th>';
    … …  
    574574                if ( $once ) {
    575575                        $once = false;
    576                         echo '<thead><tr><th>Component</th><th style="width: 50px">Tickets</th><th style="width: 50px">7 Days</th><th style="width: 50px">0&nbsp;Replies</th><th>Maintainers</th></tr></thead>';
     576                        echo '<thead><tr><td>Component</td><td>Tickets</td><td>7 Days</td><td>0&nbsp;Replies</td><td>Maintainers</td></tr></thead>';
    577577                }
    578578
Note: See TracChangeset for help on using the changeset viewer.