Changeset 8923 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php
- Timestamp:
- 06/05/2019 07:10:22 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php
r7794 r8923 2 2 3 3 <div class="wrapper"> 4 <h2 class="title"><?php _e( 'Upcoming WordPress Meetings', 'make-wporg' ); ?></h2> 4 <div class="header-section"> 5 <h2 class="title all"><?php _e( 'Upcoming WordPress Meetings', 'make-wporg' ); ?></h2> 6 <h2 class="title team"><?php _e( 'Upcoming Team Meetings', 'make-wporg' ); ?></h2> 7 <a class="team" href="/meetings"><?php _e( 'Show meetings for other teams', 'make-wporg' ); ?></a> 8 </div> 5 9 <table class="schedule"> 6 10 <thead> … … 112 116 } 113 117 } 118 119 // Allow client side filtering using # in url 120 var hash = window.location.hash.replace('#',''); 121 if (hash) { 122 var rowsToRemove = $('.schedule').find('tr td:nth-child(1)').filter(function() { 123 var reg = new RegExp(hash, "i"); 124 return !reg.test($(this).text()); 125 }); 126 127 for (var i = 0; i < rowsToRemove.length; i++) { 128 $(rowsToRemove[i]).parent().remove(); 129 } 130 131 $('.header-section').find('.team').show(); 132 } 133 else { 134 $('.header-section').find('.all').show(); 135 } 136 137 // avoid page flickers on load 138 $('.schedule').show(); 114 139 }); 115 140 </script>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)