Commits

Anonymous committed 05b14e4

0.12.3dev: Used more readable formatting for long lines.

Comments (0)

Files changed (2)

trac/templates/list_of_attachments.html

                foldable = value_of('foldable', False)" py:strip="">
   <py:def function="show_one_attachment(attachment)">
     <i18n:msg params="file, size, author, date">
-      <a href="${url_of(attachment.resource)}" title="View attachment">${attachment.filename}</a><a
-         href="${url_of(attachment.resource, format='raw')}" class="trac-rawlink" title="Download">&#8203;</a>
+      <a href="${url_of(attachment.resource)}" title="View attachment">${attachment.filename
+        }</a><a href="${url_of(attachment.resource, format='raw')}" class="trac-rawlink" title="Download">&#8203;</a>
        (<span title="${_('%(size)s bytes', size=attachment.size)}">${pretty_size(attachment.size)}</span>) -
       added by <em>${authorinfo(attachment.author)}</em> ${dateinfo(attachment.date)} ago.
     </i18n:msg>

trac/ticket/templates/ticket_change.html

       <strong>${field.label}</strong>
       <py:choose>
         <py:when test="field_name == 'attachment'"><i18n:msg params="name">
-          <a href="${href.attachment('ticket', ticket.id, field.new)}"><em>${field.new}</em></a><a
-             href="${href('raw-attachment', 'ticket', ticket.id, field.new)}" title="Download" class="trac-rawlink">&#8203;</a>
+          <a href="${href.attachment('ticket', ticket.id, field.new)}"><em>${field.new
+            }</em></a><a href="${href('raw-attachment', 'ticket', ticket.id, field.new)}"
+                         title="Download" class="trac-rawlink">&#8203;</a>
           added
         </i18n:msg></py:when>
         <py:when test="'rendered' in field">${field.rendered}</py:when>