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">
|
||||
<h2 class="ruler">Autres immobilisations</h2>
|
||||
{{:assign nb_immo=0}}
|
||||
|
||||
<table class="list">
|
||||
<thead>
|
||||
|
@ -96,6 +97,7 @@
|
|||
{{if $ignore}}
|
||||
{{:continue}}
|
||||
{{/if}}
|
||||
{{:assign nb_immo="%d+1"|math:$nb_immo}}
|
||||
|
||||
<tr>
|
||||
<td class="num"><a href={{$trans_url}}>#{{$trans_id}}</a></td>
|
||||
|
@ -130,4 +132,7 @@
|
|||
{{/select}}
|
||||
</tbody>
|
||||
</table>
|
||||
{{if $nb_immo == 0}}
|
||||
<p class="block alert">Aucune immobilisation</p>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
Loading…
Add table
Reference in a new issue