From 5c3b89a68b045b7251c0600411fe5e81f41af594 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 3 Oct 2021 17:48:00 +0000 Subject: mod locs: do not show drop icon for local clones and get rid of redundant for loop --- view/tpl/locmanage.tpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index 9b988c9c5..b4d986a1c 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -27,12 +27,16 @@ {{$drop}} {{foreach $hubs as $hub}} - {{if ! $hub.deleted }} + {{if ! $hub.hubloc_deleted }} {{$hub.hubloc_addr}} {{$hub.hubloc_url}} - {{if $hub.primary}}{{else}}{{/if}} - + {{if $hub.hubloc_primary}}{{else}}{{/if}} + + {{if $hub.hubloc_url != $base_url}} + + {{/if}} + {{/if}} {{/foreach}} -- cgit v1.2.3