Changeset 31072
- Timestamp:
- 01/07/2015 11:16:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/theme-install.php
r30772 r31072 234 234 235 235 <div class="theme-details"> 236 <div class="rating rating-{{ Math.round( data.rating / 10 ) * 10 }}"> 237 <span class="one"></span> 238 <span class="two"></span> 239 <span class="three"></span> 240 <span class="four"></span> 241 <span class="five"></span> 242 <# if ( data.num_ratings ) { #> 243 <small class="ratings">{{ data.num_ratings }}</small> 236 <# if ( data.rating ) { #> 237 <div class="rating rating-{{ Math.round( data.rating / 10 ) * 10 }}"> 238 <span class="one"></span> 239 <span class="two"></span> 240 <span class="three"></span> 241 <span class="four"></span> 242 <span class="five"></span> 243 <small class="ratings">{{ data.num_ratings }}</small> 244 </div> 244 245 <# } else { #> 245 <small class="ratings"><?php _e( 'No ratings.' ); ?></small> 246 <div class="rating"> 247 <small class="ratings"><?php _e( 'This theme has not been rated yet.' ); ?></small> 248 </div> 246 249 <# } #> 247 </div>248 250 <div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div> 249 251 <div class="theme-description">{{{ data.description }}}</div>
Note: See TracChangeset
for help on using the changeset viewer.