secret
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
1,2c1,3
< $ticket_body_hdr
< $ticket_props
---
> <div style="margin:0;padding:0;font-family:Tahoma,Verdana,Helvetica,Arial,sans-serif,sans;">
> <a href="${project.url or abs_href()}" style="text-decoration:none;display:block;letter-spacing:1px;font-weight:bold;background-color:#f8f8f8;color:#06c;padding:4px;margin:0;border-bottom:1px solid #eee;">$project.name</a>
> <a href="$ticket.link" style="text-decoration:none;display:block;background-color:#fbfbfb;color:#555;padding:4px;margin:0;border-bottom:1px solid #ddd;font-size:110%;">$ticket_body_hdr</a>
4,26c5,32
< {% when True %}\
< $ticket.description
< {% end %}\
< {% otherwise %}\
< {% if changes_body %}\
< ${_('Changes (by %(author)s):', author=change.author)}
<
< $changes_body
< {% end %}\
< {% if changes_descr %}\
< {% if not changes_body and not change.comment and change.author %}\
< ${_('Description changed by %(author)s:', author=change.author)}
< {% end %}\
< $changes_descr
< --
< {% end %}\
< {% if change.comment %}\
<
< ${_('Comment:') if changes_body else _('Comment (by %(author)s):', author=change.author)}
<
< $change.comment
< {% end %}\
< {% end %}\
---
> {% when True %}\
> <div style="padding:1.5em;">$ticket.description</div>
> {% end %}\
> {% otherwise %}\
> {% if changes_body %}\
> <fieldset style="margin:1em 0.25em;border-color:#069;border-left:none;border-right:none;">
> <legend style="color:#069;"><small><em>Changes</em> (by <strong>$change.author</strong>)</small></legend>
> $changes_body
> </fieldset>
> {% end %}\
> {% if changes_descr %}\
> <fieldset style="margin:1em 0.25em;border-color:#069;border-left:none;border-right:none;">
> {% if not changes_body and not change.comment and change.author %}\
> <legend style="color:#069;"><small><em>Description changed by</em> <strong>$change.author</strong></small></legend>
> {% end %}\
> {% otherwise %}\
> <legend style="color:#069;"><small><em>Description</em></small></legend>
> {% end %}\
> <div style="padding:1.5em;">$changes_descr</div>
> </fieldset>
> {% end %}\
> {% if change.comment %}\
> <fieldset style="margin:1em 0.25em;border-color:#069;border-left:none;border-right:none;">
> <legend style="color:#069;"><small><em>Comment</em> ${not changes_body and '(by <strong>%s</strong>)' % change.author or ''}</small></legend>
> <div style="padding:1.5em;">$change.comment</div>
> </fieldset>
> {% end %}\
> {% end %}\
29,32c35,37
< --
< ${_('Ticket URL: <%(link)s>', link=ticket.link)}
< $project.name <${project.url or abs_href()}>
< $project.descr
---
> <div style="font-size:80%;color:#999;border-top:1px dotted #999;">$ticket_props</div>
> <cite style="display:block;padding:4px;background-color:#f0f0f0;color:#999;font-size:95%;border-top:1px dotted #ccc;">$project.descr</cite>
> </div>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.