Edgewall Software

Changes between Version 67 and Version 68 of TracNotification


Ignore:
Timestamp:
Jul 12, 2011, 12:03:22 PM (13 years ago)
Author:
osimons
Comment:

Now using new-style Genshi text template.

Legend:

Unmodified
Added
Removed
Modified
  • TracNotification

    v67 v68  
    105105$ticket_body_hdr
    106106$ticket_props
    107 #choose ticket.new
    108   #when "True"
     107{% choose ticket.new %}\
     108{%   when True %}\
    109109$ticket.description
    110   #end
    111   #otherwise
    112     #if changes_body
    113 Changes (by $change.author):
     110{%   end %}\
     111{%   otherwise %}\
     112{%     if changes_body %}\
     113${_('Changes (by %(author)s):', author=change.author)}
    114114
    115115$changes_body
    116     #end
    117     #if changes_descr
    118       #if not changes_body and not change.comment and change.author
    119 Description changed by $change.author:
    120       #end
     116{%     end %}\
     117{%     if changes_descr %}\
     118{%       if not changes_body and not change.comment and change.author %}\
     119${_('Description changed by %(author)s:', author=change.author)}
     120{%       end %}\
    121121$changes_descr
    122122--
    123     #end
    124     #if change.comment
    125 
    126 Comment${not changes_body and '(by %s)' % change.author or ''}:
     123{%     end %}\
     124{%     if change.comment %}\
     125
     126${changes_body and _('Comment:') or _('Comment (by %(author)s):', author=change.author)}
    127127
    128128$change.comment
    129     #end
    130   #end
    131 #end
     129{%     end %}\
     130{%   end %}\
     131{% end %}\
    132132
    133133--
    134 Ticket URL: <$ticket.link>
     134${_('Ticket URL: <%(link)s>', link=ticket.link)}
    135135$project.name <${project.url or abs_href()}>
    136136$project.descr