aerc: Update templates
* Forwarded template * Patch applied and thanks script * Formatold-yadm
parent
ba9cab299d
commit
04a8373708
|
@ -1,10 +1,5 @@
|
|||
X-Mailer: aerc {{version}}
|
||||
|
||||
-------- Doorgestuurd bericht --------
|
||||
Onderwerp: {{.Subject}}
|
||||
Datum: {{dateFormat .OriginalDate "2006-01-02 15:04 MST" }}
|
||||
Van: {{.OriginalFrom}}
|
||||
Aan: {{.To}} (this is broken, remove this line)
|
||||
Bericht:
|
||||
Forwarded message from {{(index .OriginalFrom 0).Name}} on {{dateFormat .OriginalDate "Mon Jan 2, 2006 at 3:04 PM"}}:
|
||||
{{wrapText .OriginalText 72}}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
REMOTE_URL=$(git remote get-url --push origin)
|
||||
COMMITS=$(git reflog -2 $(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)) --pretty=format:%h | xargs printf '%s from %s')
|
||||
COMMITS=$(git reflog -2 $(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)) --pretty=format:%h | xargs printf '%s <- %s')
|
||||
CURRENT_BRANCH=$(git branch --show-current)
|
||||
UPSTREAM_BRANCH=$(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD) | sed 's#^[^/]*/##g')
|
||||
echo "On $REMOTE_URL:
|
||||
|
|
|
@ -3,6 +3,6 @@ X-Sourcehut-Patchset-Update: APPLIED
|
|||
|
||||
Thanks!
|
||||
|
||||
{{exec "~/.config/aerc/templates/patch.sh" "" }}
|
||||
{{ exec "~/.config/aerc/templates/patch.sh" "" }}
|
||||
Op {{ dateFormat (.OriginalDate | toLocal) "2006-01-02 om 15:04 MST" }}, schreef {{ (index .OriginalFrom 0).Name }}:
|
||||
{{ wrapText .OriginalText 72 | quote }}
|
||||
|
|
|
@ -3,4 +3,4 @@ X-Sourcehut-Patchset-Update: APPLIED
|
|||
|
||||
Thanks!
|
||||
|
||||
{{exec "~/.config/aerc/templates/patch.sh" "" }}
|
||||
{{ exec "~/.config/aerc/templates/patch.sh" "" }}
|
||||
|
|
Loading…
Reference in New Issue