Making WordPress.org

Ticket #1018: 1018.patch

File 1018.patch, 4.0 KB (added by ocean90, 9 years ago)
  • trunk/trac.wordpress.org/templates/site.html

     
    6666        <link rel='stylesheet' href='//s.w.org/wp-includes/css/dashicons.min.css?20140130' type='text/css' />
    6767        <link rel="stylesheet" type="text/css" href="//s.w.org/style/trac/wp-trac.css?${scripts_version}" />
    6868        <link py:if="req.session['authenticated']" rel="stylesheet" href="//s.w.org/wp-includes/css/wp-auth-check.css?ver=3.9-alpha" type="text/css" media="all" />
    69                
     69
    7070        <script py:attrs="select('@*')"></script>
    7171
    7272        <py:if test="req.environ['PATH_INFO'] == '/newticket'">
     
    224224<!--! Gravatars for the ticket reporter -->
    225225<td py:match="td[@headers='h_reporter']" py:attrs="select('@*')">
    226226        <a href="${profile_link + ticket.reporter}">
    227                 <img class="avatar" src="//wordpress.org/grav-redirect.php?user=${ticket.reporter}&amp;s=36" height="36" width="36" />
     227                <img class="avatar" src="//wordpress.org/grav-redirect.php?user=${ticket.reporter}&amp;s=36" srcset="//wordpress.org/grav-redirect.php?user=${ticket.reporter}&amp;s=72 2x" height="36" width="36" />
    228228        </a>
    229229    ${select('*|comment()|text()')}
    230230</td>
     
    232232<!--! Gravatars for the ticket owner -->
    233233<td py:match="td[@headers='h_owner']" py:attrs="select('@*')">
    234234        <a href="${profile_link + ticket.owner}" py:if="ticket.owner">
    235                 <img class="avatar" src="//wordpress.org/grav-redirect.php?user=${ticket.owner}&amp;s=36" height="36" width="36" />
     235                <img class="avatar" src="//wordpress.org/grav-redirect.php?user=${ticket.owner}&amp;s=36" srcset="//wordpress.org/grav-redirect.php?user=${ticket.reporter}&amp;s=72 2x" height="36" width="36" />
    236236        </a>
    237237    ${select('*|comment()|text()')}
    238238</td>
  • trunk/trac.wordpress.org/templates/ticket_change.diff

     
    99+      <py:when test="'author' in change">
    1010+        <span class="avatar" py:if="change">
    1111+          <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=36" height="36" width="36" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a>
     12+            <img src="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=36" srcset="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=72 2x" height="36" width="36" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a>
    1313+          <py:if test="'date' in change">
    1414+            &#8212; ${dateinfo(change.date)} ago
    1515+          </py:if>
  • trunk/trac.wordpress.org/templates/ticket_change.html

     
    5252      <py:when test="'author' in change">
    5353        <span class="avatar" py:if="change">
    5454          <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=36" height="36" width="36" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a>
     55            <img src="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=36" srcset="//wordpress.org/grav-redirect.php?user=${authorinfo(change.author)}&amp;s=72 2x" height="36" width="36" /> @<span class="username" data-username="${change.author}">${authorinfo(change.author)}</span></a>
    5656          <py:if test="'date' in change">
    5757            &#8212; ${dateinfo(change.date)} ago
    5858          </py:if>