summaryrefslogtreecommitdiff
path: root/templates/lorry.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/lorry.tpl')
-rw-r--r--templates/lorry.tpl12
1 files changed, 11 insertions, 1 deletions
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 @@
<tr> <th>Path</th>
<td><a href="{{http_server_root}}/cgi-bin/cgit.cgi/{{lorry['path']}}.git/">{{lorry['path']}}</a></td> </tr>
-<tr> <th>URL</th> <td>{{lorry['url']}}</td> </tr>
+<tr>
+ % if "url" in lorry:
+ <th>URL</th> <td>{{lorry['url']}}</td>
+ % elif "urls" in lorry:
+ <th>URLs</th> <td>
+ % for url in lorry['urls'].values():
+ {{url}}<BR>
+ % end
+ </td>
+ % end
+</tr>
<tr> <th>Interval</th> <td>{{lorry['interval_nice']}} ({{lorry['interval']}} s)</td> </tr>
<tr> <th>Last run</th> <td>{{lorry['last_run_nice']}}</td> </tr>
<tr> <th>Due</th> <td>{{lorry['due_nice']}}</td> </tr>