WordPress.org

Making WordPress.org


Ignore:
Timestamp:
05/24/2015 08:06:47 PM (4 years ago)
Author:
ocean90
Message:

Rosetta Theme: Responsive and other improvements.

  • Add template for 404 error.
  • Add template for front page which was previously the index template.
  • Update index template to support static front page and page for posts.
  • Update comments template to use wp_list_comments() and comment_form().
  • Update styling of blog posts.

see #1049.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php

    r1165 r1615  
    66get_header();
    77$releases = $rosetta->rosetta->get_releases_breakdown();
     8
     9the_post();
    810?>
    9     <div class="wrapper">
    10     <div class="section releases">
     11    <div id="headline">
     12        <div class="wrapper">
     13            <h2><?php the_title(); ?></h2>
     14        </div>
     15    </div>
     16
     17    <div id="pagebody">
     18        <div class="wrapper">
     19            <div class="col-9">
    1120<?php
    1221    if ( ! empty( $releases ) ):
    1322        if ( isset( $releases['latest'] ) ):
    14             release_row(null, null, null, true);
     23            rosetta_release_row( null, null, null, true );
    1524?>
    16             <h3 id="latest"><?php _e('Latest release', 'rosetta'); ?></h3>
     25            <h3 id="latest"><?php _e( 'Latest release', 'rosetta' ); ?></h3>
    1726            <table class="releases latest">
    18                 <?php echo release_row( $releases['latest'], 'alt' ); ?>
     27                <?php echo rosetta_release_row( $releases['latest'], 'alt' ); ?>
    1928            </table>
    2029<?php
     
    2534<?php
    2635        foreach ( $releases['branches'] as $branch => $branch_rels ):
    27             release_row( null, null, null, true );
     36            rosetta_release_row( null, null, null, true );
    2837?>
    29             <h3><?php printf( __('%s Branch', 'rosetta'), $branch );?></h3>
     38            <h3><?php printf( __( '%s Branch', 'rosetta' ), $branch );?></h3>
    3039            <table class="releases">
    3140<?php
    3241    foreach ( $branch_rels as $release ):
    3342?>
    34                 <?php release_row( $release, 'alt' );?>
     43                <?php rosetta_release_row( $release, 'alt' );?>
    3544<?php
    3645    endforeach;
     
    4251        if ( ! empty( $releases['betas'] ) ):
    4352?>
    44             <h3 id="betas"><?php _e('Beta &amp; RC releases', 'rosetta'); ?></h3>
     53            <h3 id="betas"><?php _e( 'Beta &amp; RC releases', 'rosetta' ); ?></h3>
    4554            <table id="beta" class="releases">
    4655<?php
    47     release_row( null, null, null, true );
     56    rosetta_release_row( null, null, null, true );
    4857    foreach ( $releases['betas'] as $release ):
    4958?>
    50                 <?php release_row( $release, 'alt', 'beta-first' ); ?>
     59                <?php rosetta_release_row( $release, 'alt', 'beta-first' ); ?>
    5160<?php
    5261    endforeach;
     
    5867    else: # no releases
    5968?>
    60     <p><?php _e('There are no releases'); ?></p>
     69    <p><?php _e( 'There are no releases, yet.', 'rosetta' ); ?></p>
    6170<?php endif; # if releases?>
     71            </div>
     72        </div>
    6273    </div>
    63     </div>
    64 <?php get_footer(); ?>
     74<?php
     75get_footer();
Note: See TracChangeset for help on using the changeset viewer.