fix template formatting
This commit is contained in:
@@ -45,17 +45,21 @@ post_tops:
|
||||
Wo: {{place}} \linebreak
|
||||
Redeleitung: ? \linebreak
|
||||
Protokoll: ?'
|
||||
protostub: '* Termin: {{next_date.strftime("%d.%m.%Y")}}
|
||||
|
||||
* Ort: {{place}}
|
||||
protostub: '{{"{{"}}NextFsr
|
||||
|
||||
* 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
|
||||
file: "data/termine.txt"
|
||||
#command: "./list_termine.sh" # if khal is setup correctly, uncomment this to read events from there
|
||||
#proto_command: "./list_termine_proto.sh"
|
||||
command: "./list_termine.sh" # if khal is setup correctly, uncomment this to read events from there
|
||||
proto_command: "./list_termine_proto.sh"
|
||||
protostub: '{|
|
||||
|
||||
{{"{{"}}Termin|was=AAAAAAAAAA|wann=XX.YY.{{"}}"}}
|
||||
@@ -84,7 +88,7 @@ protoreplace:
|
||||
|
||||
Beschlussvorlage"
|
||||
|
||||
sendmail: ["/usr/sbin/sendmail"]
|
||||
sendmail: ["/usr/bin/msmtp"]
|
||||
|
||||
|
||||
# vim: filetype=yaml
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
echo "{{'{{'}}"
|
||||
echo "{{'{|'}}"
|
||||
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