- Timestamp:
- 05/14/2016 12:27:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/templates/ticket_change.html
r3137 r3140 33 33 34 34 <py:choose> 35 <py:when test="'author' in change and ('slackbot' == change.author or 'ircbot' == change.author)"> 35 <py:when test="'author' in change and ('slackbot' == change.author or 'ircbot' == change.author)" 36 py:with="wporg_user = wporg_sanitize_user_nicename(change.author)" > 36 37 <h3 class="change chat-bot"> 37 38 <span class="avatar" py:if="change"> 38 39 <span class="username-line"> 39 <img src="https://wordpress.org/grav-redirect.php?user=${ authorinfo(change.author)}&s=48" srcset="https://wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&s=96 2x" height="48" width="48" />40 <img src="https://wordpress.org/grav-redirect.php?user=${wporg_user}&s=48" srcset="https://wordpress.org/grav-redirect.php?user=${wporg_user}&s=96 2x" height="48" width="48" /> 40 41 ${wiki_to_html(context, change.comment, escape_newlines=preserve_newlines)} 41 42 </span> … … 74 75 </span> 75 76 <py:choose> 76 <py:when test="'author' in change" >77 <py:when test="'author' in change" py:with="wporg_user = wporg_sanitize_user_nicename(change.author)"> 77 78 <span class="avatar" py:if="change"> 78 <span class="username-line"><a href="https://profiles.wordpress.org/${ authorinfo(change.author)}" class="profile-link">79 <img src="https://wordpress.org/grav-redirect.php?user=${ authorinfo(change.author)}&s=48" srcset="https://wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&s=96 2x" height="48" width="48" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a></span>79 <span class="username-line"><a href="https://profiles.wordpress.org/${wporg_user}" class="profile-link"> 80 <img src="https://wordpress.org/grav-redirect.php?user=${wporg_user}&s=48" srcset="https://wordpress.org/grav-redirect.php?user=${wporg_user}&s=96 2x" height="48" width="48" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a></span> 80 81 <py:if test="'date' in change"> 81 82 <br /><span class="time-ago">${dateinfo(change.date)} ago</span>
Note: See TracChangeset
for help on using the changeset viewer.