summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben@demerara.io>2022-05-05 23:55:39 +0100
committerBen Brown <ben@demerara.io>2022-05-05 23:55:41 +0100
commit36d5cb9385717a6e5a93c9b916348b1aab1bce98 (patch)
treeb910b36ea0fb97e867125da975e322701dcf091a
parentdc2ab24774afb5386f1ef1e8471e8c2efa488319 (diff)
downloadlorry-controller-36d5cb9385717a6e5a93c9b916348b1aab1bce98.tar.gz
Fix lorry template
Update to match new raw-file format.
-rw-r--r--templates/lorry.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/lorry.tpl b/templates/lorry.tpl
index b9b74fa..02c2ae8 100644
--- a/templates/lorry.tpl
+++ b/templates/lorry.tpl
@@ -18,8 +18,8 @@
<th>URL</th> <td>{{lorry['url']}}</td>
% elif "urls" in lorry:
<th>URLs</th> <td>
- % for url in lorry['urls'].values():
- {{url}}<BR>
+ % for url_obj in lorry['urls']:
+ {{url_obj['url']}}<BR>
% end
</td>
% end