Changeset 643 for sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php
- Timestamp:
- 05/24/2014 09:36:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php
r380 r643 150 150 .trac-summary .count { text-align: right; min-width: 3em } 151 151 .trac-summary .zero { color: #ddd } 152 #main ul.maintainers { list-style: none; padding: 0; margin: 0 }153 ul.maintainers li { display: inline-block; line-height: 36px; margin-right: 20px; margin-bottom: 10px }154 ul.maintainers img { float: left; margin-right: 10px; }152 #main ul.maintainers, #main ul.followers { list-style: none; padding: 0; margin: 0 } 153 ul.maintainers li, ul.followers li { display: inline-block; line-height: 36px; margin-right: 20px; margin-bottom: 10px } 154 ul.maintainers img, ul.followers img { float: left; margin-right: 10px; } 155 155 #main ul.ticket-list { list-style: none; margin: 0; padding: 0 } 156 156 ul.ticket-list li { margin-bottom: 4px } … … 251 251 $followers = $this->trac->get_col( $this->trac->prepare( "SELECT username FROM _notifications WHERE type = 'component' AND value = %s", $post->post_title ) ); 252 252 if ( $followers ) { 253 echo "Contributors following this component:\n"; 253 echo 'Contributors following this component:'; 254 echo '<ul class="followers">'; 254 255 foreach ( $followers as $follower ) { 255 256 $follower = esc_attr( $follower ); 256 echo '<a title="' . $follower . '" href="//profiles.wordpress.org/' . $follower . '">'; 257 echo '<img width="36" height="36" src="//wordpress.org/grav-redirect.php?user=' . $follower . '&s=36" /></a>'; 258 } 257 echo '<li><a title="' . $follower . '" href="//profiles.wordpress.org/' . $follower . '">'; 258 echo '<img width="36" height="36" src="//wordpress.org/grav-redirect.php?user=' . $follower . '&s=36" /></a></li>'; 259 } 260 echo '</ul>'; 259 261 } 260 262
Note: See TracChangeset
for help on using the changeset viewer.