Ticket #7752: 7752.2.patch
| File 7752.2.patch, 2.5 KB (added by , 8 years ago) |
|---|
-
src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php
103 103 <span id="button-text" class="bp-screen-reader-text"><?php esc_html_e( 'Search', 'buddypress' ); ?></span> 104 104 </button> 105 105 </form> 106 </div>106 </div> 107 107 </div> 108 108 </script> 109 109 110 110 <script type="text/html" id="tmpl-bp-invites-paginate"> 111 111 <# if ( 1 !== data.page ) { #> 112 <button type="button" id="bp-invites-prev-page" class="button invite-button"> 113 <span class="bp-screen-reader-text"><?php esc_html_e( 'Previous', 'buddypress' ); ?></span> 114 </button> 112 <a href="#previous-page" id="bp-invites-prev-page" class="button invite-button bp-tooltip" data-bp-tooltip="<?php echo esc_attr( 'Previous page', 'buddypress' ); ?>"> 113 <span class="dashicons dashicons-arrow-left" aria-hidden="true"></span> 114 <span class="bp-screen-reader-text"><?php esc_html_e( 'Previous page', 'buddypress' ); ?></span> 115 </a> 115 116 <# } #> 116 117 117 118 <# if ( data.total_page !== data.page ) { #> 118 <button type="button" id="bp-invites-next-page" class="button invite-button"> 119 <span class="bp-screen-reader-text"><?php esc_html_e( 'Next', 'buddypress' ); ?></span> 119 <a href="#next-page" id="bp-invites-next-page" class="button invite-button bp-tooltip" data-bp-tooltip="<?php echo esc_attr( 'Next page', 'buddypress' ); ?>"> 120 <span class="bp-screen-reader-text"><?php esc_html_e( 'Next page', 'buddypress' ); ?></span> 121 <span class="dashicons dashicons-arrow-right" aria-hidden="true"></span> 120 122 </button> 121 123 <# } #> 122 124 </script> -
src/bp-templates/bp-nouveau/js/buddypress-group-invites.js
479 479 } ); 480 480 481 481 bp.Views.Pagination = bp.Nouveau.GroupInvites.View.extend( { 482 tagName : ' li',482 tagName : 'div', 483 483 className : 'last', 484 484 template : bp.template( 'bp-invites-paginate' ) 485 485 } ); … … 505 505 view.remove(); 506 506 } ); 507 507 508 if ( 1 === collection.options.total_page ) { 509 return; 510 } 511 508 512 this.views.add( new bp.Views.Pagination( { model: new Backbone.Model( collection.options ) } ) ); 509 513 }, 510 514