Changes between Version 4 and Version 5 of 0.12/TracNotification
- Timestamp:
- Jul 12, 2011, 12:01:40 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.12/TracNotification
v4 v5 101 101 $ticket_body_hdr 102 102 $ticket_props 103 #choose ticket.new 104 #when True 103 {% choose ticket.new %}\ 104 {% when True %}\ 105 105 $ticket.description 106 #end 107 #otherwise 108 #if changes_body 109 Changes (by $change.author): 106 {% end %}\ 107 {% otherwise %}\ 108 {% if changes_body %}\ 109 ${_('Changes (by %(author)s):', author=change.author)} 110 110 111 111 $changes_body 112 #end 113 #if changes_descr 114 #if not changes_body and not change.comment and change.author 115 Description changed by $change.author: 116 #end 112 {% end %}\ 113 {% if changes_descr %}\ 114 {% if not changes_body and not change.comment and change.author %}\ 115 ${_('Description changed by %(author)s:', author=change.author)} 116 {% end %}\ 117 117 $changes_descr 118 118 -- 119 #end 120 #if change.comment 121 122 Comment${not changes_body and '(by %s)' % change.author or ''}: 119 {% end %}\ 120 {% if change.comment %}\ 121 122 ${changes_body and _('Comment:') or _('Comment (by %(author)s):', author=change.author)} 123 123 124 124 $change.comment 125 #end 126 #end 127 #end 125 {% end %}\ 126 {% end %}\ 127 {% end %}\ 128 128 129 129 -- 130 Ticket URL: <$ticket.link> 130 ${_('Ticket URL: <%(link)s>', link=ticket.link)} 131 131 $project.name <${project.url or abs_href()}> 132 132 $project.descr