aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/locmanage.tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-30 22:10:26 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-30 22:10:26 -0700
commite7131bc8f8cbb264c0416dd1664721f50023ce73 (patch)
tree8f72ebbf7c86ca22b07a873125aac646e796e03f /view/tpl/locmanage.tpl
parent1df1c15e48821f1339579e119826c78df97289c6 (diff)
downloadvolse-hubzilla-e7131bc8f8cbb264c0416dd1664721f50023ce73.tar.gz
volse-hubzilla-e7131bc8f8cbb264c0416dd1664721f50023ce73.tar.bz2
volse-hubzilla-e7131bc8f8cbb264c0416dd1664721f50023ce73.zip
this is an even better fix for issue #61
Diffstat (limited to 'view/tpl/locmanage.tpl')
-rw-r--r--view/tpl/locmanage.tpl12
1 files 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) {
<table>
<tr><td>{{$loc}}</td><td>{{$mkprm}}</td><td>{{$drop}}</td></tr>
{{foreach $hubs as $hub}}
+{{if ! $hub.deleted }}
<tr><td>
-{{if $hub.deleted}}<strike>{{/if}}
-{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}){{if $hub.deleted}}</strike>{{/if}}</td>
-
-{{if ! $hub.deleted}}
+{{$hub.hubloc_url}} ({{$hub.hubloc_addr}})</td>
<td>
{{if $hub.primary}}<button class="btn btn-std"><i class="icon-check"></i></button>{{else}}<button class="btn btn-std" onclick="primehub({{$hub.hubloc_id}}); return false;" ><i class="icon-check-empty" ></i></button>{{/if}}
</td>
-<td>{{if ! $hub.deleted}}<button class="btn btn-std" onclick="drophub({{$hub.hubloc_id}}); return false;"><i class="icon-trash"></i></button>{{/if}}</td>
-{{else}}
-<td><button class="btn btn-std"><i class="icon-minus"></i></button></td><td><button class="btn btn-std"><i class="icon-minus"></i></button></td>
-{{/if}}
+<td><button class="btn btn-std" onclick="drophub({{$hub.hubloc_id}}); return false;"><i class="icon-trash"></i></button></td>
</tr>
+{{/if}}
{{/foreach}}
</table>