Changeset 12399 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-projects.php
- Timestamp:
- 02/16/2023 12:43:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-projects.php
r12072 r12399 151 151 152 152 <?php 153 153 154 if ( isset( $pages ) && $pages['pages'] > 1 ) { 154 155 echo '<div class="projects-paging">'; … … 156 157 echo '</div>'; 157 158 } 159 158 160 ?> 159 160 161 <div id="projects" class="projects"> 161 162 <?php … … 184 185 $project_name = "{$parent_project->name} - {$project_name}"; 185 186 } 186 187 } elseif ( 'Patterns' == $project->name ) { 188 $prefix = 'https://translate.wordpress.org/projects/patterns/core'; 189 $suffix = '?filters%5Bterm%5D=https%3A%2F%2Fwordpress.org%2Fpatterns%2Fpattern%2F' . $sub_project->slug . '%2F&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated_or_rejected_or_changesrequested_or_old&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc'; 190 $project_url = $prefix . '/' . $locale_slug . '/' . $set_slug . '/' . $suffix; 191 $project_name = $sub_project->name; 187 192 } else { 188 193 $project_url = gp_url_join( '/locale', $locale_slug, $set_slug, $sub_project->path );
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)