Skip to content
Snippets Groups Projects
Commit bf520f99 authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix(dev) : fix nb equipments labels

parent faeb164d
No related branches found
No related tags found
2 merge requests!68Recette,!67Dev
......@@ -176,10 +176,12 @@
<app-svg-icon [type]="'ico'" [icon]="getEquipmentsIcon(equipement)"></app-svg-icon>
<p>
{{ getEquipmentsLabel(equipement) }}
<span *ngIf="equipement == 'ordinateurs'"> : {{ structure.nbComputers }}</span>
<span *ngIf="equipement == 'tablettes'"> : {{ structure.nbTablets }}</span>
<span *ngIf="equipement == 'bornesNumeriques'"> : {{ structure.nbNumericTerminal }}</span>
<span *ngIf="equipement == 'imprimantes'"> : {{ structure.nbPrinters }}</span>
<span *ngIf="equipement == 'ordinateurs' && structure.nbComputers"> : {{ structure.nbComputers }}</span>
<span *ngIf="equipement == 'tablettes' && structure.nbTablets"> : {{ structure.nbTablets }}</span>
<span *ngIf="equipement == 'bornesNumeriques' && structure.nbNumericTerminal">
: {{ structure.nbNumericTerminal }}</span
>
<span *ngIf="equipement == 'imprimantes' && structure.nbPrinters"> : {{ structure.nbPrinters }}</span>
</p>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment