diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2015-10-01 17:31:22 +0200 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2015-10-01 17:31:22 +0200 |
commit | 2696cf9b9eb84e52532f783cfcab6e4264d53c76 (patch) | |
tree | 7eaa74544a790e18144d9d06f123050775714a93 /view/tpl/locmanage.tpl | |
parent | e07ff7d3fbb9bef720831dc71470b70a882abfdf (diff) | |
parent | d9f962ee6ff086da4c7b2d5959802397cb072ef2 (diff) | |
download | volse-hubzilla-2696cf9b9eb84e52532f783cfcab6e4264d53c76.tar.gz volse-hubzilla-2696cf9b9eb84e52532f783cfcab6e4264d53c76.tar.bz2 volse-hubzilla-2696cf9b9eb84e52532f783cfcab6e4264d53c76.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'view/tpl/locmanage.tpl')
-rw-r--r-- | view/tpl/locmanage.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index e0232547f..4ace457ed 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -12,15 +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> +{{$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> +<td><button class="btn btn-std" onclick="drophub({{$hub.hubloc_id}}); return false;"><i class="icon-trash"></i></button></td> </tr> +{{/if}} {{/foreach}} </table> |