- Timestamp:
- 06/23/2015 10:33:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates/locales.php
r1590 r1684 35 35 </ul> 36 36 <div class="contributors"> 37 <span class="dashicons dashicons-admin-users"></span><br />38 37 <?php 39 $contributors = isset( $contributors_count[ $locale->slug ] ) ? $contributors_count[ $locale->slug ] : 0; 40 echo gp_link_get( 'https://make.wordpress.org/polyglots/teams/?locale=' . $wp_locale, $contributors ); 38 $contributors = sprintf( 39 '<span class="dashicons dashicons-admin-users"></span><br />%s', 40 isset( $contributors_count[ $locale->slug ] ) ? $contributors_count[ $locale->slug ] : 0 41 ); 42 echo gp_link_get( 'https://make.wordpress.org/polyglots/teams/?locale=' . $locale->wp_locale, $contributors ); 41 43 ?> 42 44 </div> … … 45 47 </div> 46 48 <div class="locale-button"> 47 <div class="button ">48 <?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), "Contribute Translation") ?>49 <div class="button contribute-button"> 50 <?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), 'Contribute Translation' ) ?> 49 51 </div> 50 52 </div> … … 56 58 jQuery( document ).ready( function( $ ) { 57 59 $rows = $( '#locales' ).find( '.locale' ); 58 $( '#locales-filter' ). bind( 'change keyup input',function() {59 var words = this.value.toLowerCase().split( ' ');60 $( '#locales-filter' ).on( 'input keyup',function() { 61 var words = this.value.toLowerCase().split( ' ' ); 60 62 61 63 if ( '' === this.value.trim() ) {
Note: See TracChangeset
for help on using the changeset viewer.