From cea2acf3b4e1c6fb4b4df60828459a40fc978367 Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Thu, 18 Nov 2021 18:27:35 +0000 Subject: Update admin interface to support raw-file --- templates/lorry.tpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/lorry.tpl b/templates/lorry.tpl index 22760d4..b9b74fa 100644 --- a/templates/lorry.tpl +++ b/templates/lorry.tpl @@ -13,7 +13,17 @@ Path {{lorry['path']}} - URL {{lorry['url']}} + + % if "url" in lorry: + URL {{lorry['url']}} + % elif "urls" in lorry: + URLs + % for url in lorry['urls'].values(): + {{url}}
+ % end + + % end + Interval {{lorry['interval_nice']}} ({{lorry['interval']}} s) Last run {{lorry['last_run_nice']}} Due {{lorry['due_nice']}} -- cgit v1.2.1