fix template formatting
This commit is contained in:
@@ -45,17 +45,21 @@ post_tops:
|
|||||||
Wo: {{place}} \linebreak
|
Wo: {{place}} \linebreak
|
||||||
Redeleitung: ? \linebreak
|
Redeleitung: ? \linebreak
|
||||||
Protokoll: ?'
|
Protokoll: ?'
|
||||||
protostub: '* Termin: {{next_date.strftime("%d.%m.%Y")}}
|
protostub: '{{"{{"}}NextFsr
|
||||||
|
|
||||||
* Ort: {{place}}
|
|
||||||
|
|
||||||
* nächste Redeleitung: XXXXXXXX
|
| termin = {{next_date.strftime("%d.%m.%Y")}} {{time.strftime("%H:%M")}}
|
||||||
|
|
||||||
* nächstes Protokoll: XXXXXXXX'
|
| ort = {{place}}
|
||||||
|
|
||||||
|
| redeleitung = XXXXXXXX
|
||||||
|
|
||||||
|
| protokoll = XXXXXXXX
|
||||||
|
|
||||||
|
{{"}}"}}'
|
||||||
- title: Termine
|
- title: Termine
|
||||||
file: "data/termine.txt"
|
file: "data/termine.txt"
|
||||||
#command: "./list_termine.sh" # if khal is setup correctly, uncomment this to read events from there
|
command: "./list_termine.sh" # if khal is setup correctly, uncomment this to read events from there
|
||||||
#proto_command: "./list_termine_proto.sh"
|
proto_command: "./list_termine_proto.sh"
|
||||||
protostub: '{|
|
protostub: '{|
|
||||||
|
|
||||||
{{"{{"}}Termin|was=AAAAAAAAAA|wann=XX.YY.{{"}}"}}
|
{{"{{"}}Termin|was=AAAAAAAAAA|wann=XX.YY.{{"}}"}}
|
||||||
@@ -84,7 +88,7 @@ protoreplace:
|
|||||||
|
|
||||||
Beschlussvorlage"
|
Beschlussvorlage"
|
||||||
|
|
||||||
sendmail: ["/usr/sbin/sendmail"]
|
sendmail: ["/usr/bin/msmtp"]
|
||||||
|
|
||||||
|
|
||||||
# vim: filetype=yaml
|
# vim: filetype=yaml
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
echo "{{'{{'}}"
|
echo "{{'{|'}}"
|
||||||
khal list --day-format "" --format "{{{{'{{{{'}}}}Termin|was={title}|wann={start}{{{{'}}}}'}}}}" -a calendars_fsmi today 30d | grep -v Fachschaftsrat
|
khal list --day-format "" --format "{{{{'{{{{'}}}}Termin|was={title}|wann={start}{{{{'}}}}'}}}}" -a calendars_fsmi today 30d | grep -v Fachschaftsrat
|
||||||
echo "{{'}}'}}"
|
echo "{{'|}'}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user