diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-30 21:59:33 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-30 21:59:33 -0700 |
commit | 1df1c15e48821f1339579e119826c78df97289c6 (patch) | |
tree | 625ac4205b479eeded6ef562e3ff4cc8a855742c /view | |
parent | 986244eeeadd1ca18daf8f9337424bc5e7410389 (diff) | |
download | volse-hubzilla-1df1c15e48821f1339579e119826c78df97289c6.tar.gz volse-hubzilla-1df1c15e48821f1339579e119826c78df97289c6.tar.bz2 volse-hubzilla-1df1c15e48821f1339579e119826c78df97289c6.zip |
issue #61 - provide un-useable icons as placeholders for location setting options on deleted hublocs
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/locmanage.tpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index e0232547f..0620e2dcb 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -15,11 +15,15 @@ function drophub(id) { <tr><td> {{if $hub.deleted}}<strike>{{/if}} {{$hub.hubloc_url}} ({{$hub.hubloc_addr}}){{if $hub.deleted}}</strike>{{/if}}</td> -<td> +{{if ! $hub.deleted}} +<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}} </tr> {{/foreach}} </table> |