Files
@ 8b75085c2c02
Branch filter:
Location: kallithea/scripts/whitespacecleanup.sh
8b75085c2c02
1.4 KiB
text/x-sh
mails: restructure notification mail content
* Mention "The Thing" in the header, link to online version
* Show The Thing
* A dense summary of the essentials of the context below it
The html indentation is odd in order to make the next diff smaller.
The text version is based on:
for a in kallithea/templates/email_templates/*.html; do sed -e 's,<\([^%/>]\|/[^%>]\)*>,,g' -e 's,\.html",\.txt",g' -e 's,^ *,,g' -e 's/}/|n,unicode}/g' $a > ${a%%.html}.txt ; done
* Mention "The Thing" in the header, link to online version
* Show The Thing
* A dense summary of the essentials of the context below it
The html indentation is odd in order to make the next diff smaller.
The text version is based on:
for a in kallithea/templates/email_templates/*.html; do sed -e 's,<\([^%/>]\|/[^%>]\)*>,,g' -e 's,\.html",\.txt",g' -e 's,^ *,,g' -e 's/}/|n,unicode}/g' $a > ${a%%.html}.txt ; done