Amélioration présentation onglet Autres si vide
This commit is contained in:
parent
ceafe9157d
commit
757ac7d5ce
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
<section class="immobilisation">
|
<section class="immobilisation">
|
||||||
<h2 class="ruler">Autres immobilisations</h2>
|
<h2 class="ruler">Autres immobilisations</h2>
|
||||||
|
{{:assign nb_immo=0}}
|
||||||
|
|
||||||
<table class="list">
|
<table class="list">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -96,6 +97,7 @@
|
||||||
{{if $ignore}}
|
{{if $ignore}}
|
||||||
{{:continue}}
|
{{:continue}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{:assign nb_immo="%d+1"|math:$nb_immo}}
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="num"><a href={{$trans_url}}>#{{$trans_id}}</a></td>
|
<td class="num"><a href={{$trans_url}}>#{{$trans_id}}</a></td>
|
||||||
|
@ -130,4 +132,7 @@
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{{if $nb_immo == 0}}
|
||||||
|
<p class="block alert">Aucune immobilisation</p>
|
||||||
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue