Changeset 1265 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php
- Timestamp:
- 02/16/2015 11:10:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php
r1250 r1265 1 1 <script id="tmpl-theme" type="text/template"> 2 <# if ( data.screenshot_url ) { #> 3 <div class="theme-screenshot"> 4 <img src="{{ data.screenshot_url }}?w=572&strip=all" alt="" /> 5 </div> 6 <# } else { #> 7 <div class="theme-screenshot blank"></div> 8 <# } #> 9 <a class="more-details url" href="{{{ data.permalink }}}" rel="bookmark" tabindex="-1"><?php _ex( 'More Info', 'theme' ); ?></a> 10 <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{ data.author }}</span>' ); ?></div> 11 <h3 class="theme-name entry-title">{{{ data.name }}}</h3> 2 <a class="url" href="{{{ data.permalink }}}" rel="bookmark" tabindex="-1"> 3 <# if ( data.screenshot_url ) { #> 4 <div class="theme-screenshot"> 5 <img src="{{ data.screenshot_url }}?w=572&strip=all" alt="" /> 6 </div> 7 <# } else { #> 8 <div class="theme-screenshot blank"></div> 9 <# } #> 10 <span class="more-details"><?php _ex( 'More Info', 'theme' ); ?></span> 11 <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{ data.author }}</span>' ); ?></div> 12 <h3 class="theme-name entry-title">{{{ data.name }}}</h3> 12 13 13 <div class="theme-actions"> 14 <a class="button button-primary preview install-theme-preview" href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip"><?php esc_html_e( 'Download' ); ?></a> 15 </div> 14 <div class="theme-actions"> 15 <a class="button button-primary preview install-theme-preview" href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip"><?php esc_html_e( 'Download' ); ?></a> 16 </div> 17 </a> 16 18 </script>
Note: See TracChangeset
for help on using the changeset viewer.