this is an even better fix for issue #61
This commit is contained in:
parent
1df1c15e48
commit
e7131bc8f8
@ -12,19 +12,15 @@ function drophub(id) {
|
|||||||
<table>
|
<table>
|
||||||
<tr><td>{{$loc}}</td><td>{{$mkprm}}</td><td>{{$drop}}</td></tr>
|
<tr><td>{{$loc}}</td><td>{{$mkprm}}</td><td>{{$drop}}</td></tr>
|
||||||
{{foreach $hubs as $hub}}
|
{{foreach $hubs as $hub}}
|
||||||
|
{{if ! $hub.deleted }}
|
||||||
<tr><td>
|
<tr><td>
|
||||||
{{if $hub.deleted}}<strike>{{/if}}
|
{{$hub.hubloc_url}} ({{$hub.hubloc_addr}})</td>
|
||||||
{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}){{if $hub.deleted}}</strike>{{/if}}</td>
|
|
||||||
|
|
||||||
{{if ! $hub.deleted}}
|
|
||||||
<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}}
|
{{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>
|
||||||
<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>
|
||||||
{{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>
|
</tr>
|
||||||
|
{{/if}}
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user