~sircmpwn/aerc

a19c1fb65b579f1932dfac70188720721170507f — Reto Brunner 2 years ago 3df88f7
templates: fixup error in template modification

The change of WrapText --> Wrap left the order of the arguments unchanged, which
is wrong.
2 files changed, 2 insertions(+), 2 deletions(-)

M templates/forward_as_body
M templates/quoted_reply
M templates/forward_as_body => templates/forward_as_body +1 -1
@@ 1,3 1,3 @@

Forwarded message from {{(index .OriginalFrom 0).Name}} on {{dateFormat .OriginalDate "Mon Jan 2, 2006 at 3:04 PM"}}:
{{wrap .OriginalText 72}}
{{wrap 72 .OriginalText }}

M templates/quoted_reply => templates/quoted_reply +1 -1
@@ 1,3 1,3 @@

On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:04 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote:
{{wrap .OriginalText 72 | quote }}
{{wrap 72 .OrinalText | quote }}