From e7131bc8f8cbb264c0416dd1664721f50023ce73 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 30 Sep 2015 22:10:26 -0700 Subject: this is an even better fix for issue #61 --- view/tpl/locmanage.tpl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index 0620e2dcb..4ace457ed 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -12,19 +12,15 @@ function drophub(id) { {{foreach $hubs as $hub}} +{{if ! $hub.deleted }} - -{{if ! $hub.deleted}} +{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}) - -{{else}} - -{{/if}} + +{{/if}} {{/foreach}}
{{$loc}}{{$mkprm}}{{$drop}}
-{{if $hub.deleted}}{{/if}} -{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}){{if $hub.deleted}}{{/if}} {{if $hub.primary}}{{else}}{{/if}} {{if ! $hub.deleted}}{{/if}}
-- cgit v1.2.3