updating templates
This commit is contained in:
1 parent
b0324ac9d8
commit
45567b2242
4 files changed
+5
-15
No files matched your search
@@ -33,8 +33,7 @@ Template Functions Available:
|
||||
],
|
||||
"footer": {
|
||||
"text": "✨ Haven Notify ✨"
|
||||
}{{if .timestamp}},
|
||||
"timestamp": "{{formatTime .timestamp}}"{{end}}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -30,8 +30,7 @@ Variables expected:
|
||||
],
|
||||
"footer": {
|
||||
"text": "✨ Haven Notify ✨"
|
||||
},
|
||||
"timestamp": "{{formatTime .timestamp}}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -17,14 +17,13 @@ Template Functions Available:
|
||||
"fields": [
|
||||
{
|
||||
"name": "⏱️ Time Taken",
|
||||
"value": "{{if .time}}{{formatTime .time}}{{else}}Unknown{{end}} seconds",
|
||||
"value": "{{if .time}}{{.time}}{{else}}Unknown{{end}} seconds",
|
||||
"inline": true
|
||||
}
|
||||
],
|
||||
"footer": {
|
||||
"text": "✨ Haven Notify ✨"
|
||||
},
|
||||
"timestamp": "{{formatTime .timestamp}}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user