issue #61 - provide un-useable icons as placeholders for location setting options on deleted hublocs

This commit is contained in:
redmatrix 2015-09-30 21:59:33 -07:00
parent 986244eeea
commit 1df1c15e48

View File

@ -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>