Making WordPress.org

Changeset 1975


Ignore:
Timestamp:
10/11/2015 10:43:24 PM (11 years ago)
Author:
nacin
Message:

Trac: Update ticket_change.html to parse correctly.

Location:
sites/trunk/trac.wordpress.org/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/ticket_change.diff

    r1972 r1975  
    99+      <py:when test="'author' in change">
    1010+        <span class="avatar" py:if="change">
    11 +          <a href="//profiles.wordpress.org/${authorinfo(change.author)}" class="profile-link">
    12 +            <img src="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=48" srcset="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=96 2x" height="48" width="48" /> <span class="username-wrap">@<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a></span>
     11+          <span class="username-line"><a href="//profiles.wordpress.org/${authorinfo(change.author)}" class="profile-link">
     12+            <img src="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=48" srcset="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=96 2x" height="48" width="48" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a></span>
    1313+          <py:if test="'date' in change">
    1414+            <br /><span class="time-ago">${dateinfo(change.date)} ago</span>
  • sites/trunk/trac.wordpress.org/templates/ticket_change.html

    r1972 r1975  
    5252      <py:when test="'author' in change">
    5353        <span class="avatar" py:if="change">
    54           <a href="//profiles.wordpress.org/${authorinfo(change.author)}" class="profile-link">
    55             <img src="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=48" srcset="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=96 2x" height="48" width="48" /> <span class="username-wrap">@<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a></span>
     54          <span class="username-line"><a href="//profiles.wordpress.org/${authorinfo(change.author)}" class="profile-link">
     55            <img src="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=48" srcset="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=96 2x" height="48" width="48" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a></span>
    5656          <py:if test="'date' in change">
    5757            <br /><span class="time-ago">${dateinfo(change.date)} ago</span>
Note: See TracChangeset for help on using the changeset viewer.