WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/11/2014 07:39:05 PM (7 years ago)
Author:
obenland
Message:

WP.org Themes: Revamped modal layout and responsive styles.

See https://wordpress.slack.com/archives/meta/p1418066438000006
See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php

    r1006 r1034  
    55            <a href="#" class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme' ); ?></span></a>
    66            <a href="#" class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme' ); ?></span></a>
    7             <a href="#" class="button button-primary theme-install"><?php _e( 'Download' ); ?></a>
     7            <a href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip" class="button button-primary theme-install"><?php _e( 'Download' ); ?></a>
    88        </div>
    99        <div class="wp-full-overlay-sidebar-content">
     
    2323
    2424                        <# if ( data.num_ratings ) { #>
    25                         <small class="ratings">{{ data.num_ratings }}</small>
     25                        <small class="ratings"><?php printf( __( '(based on %s ratings).', 'wporg-themes' ), '{{ data.num_ratings }}' ); ?></small>
    2626                        <# } else { #>
    2727                        <small class="ratings"><?php _e( 'No ratings.' ); ?></small>
Note: See TracChangeset for help on using the changeset viewer.