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 @@ ...@@ -176,10 +176,12 @@
<app-svg-icon [type]="'ico'" [icon]="getEquipmentsIcon(equipement)"></app-svg-icon> <app-svg-icon [type]="'ico'" [icon]="getEquipmentsIcon(equipement)"></app-svg-icon>
<p> <p>
{{ getEquipmentsLabel(equipement) }} {{ getEquipmentsLabel(equipement) }}
<span *ngIf="equipement == 'ordinateurs'"> : {{ structure.nbComputers }}</span> <span *ngIf="equipement == 'ordinateurs' && structure.nbComputers"> : {{ structure.nbComputers }}</span>
<span *ngIf="equipement == 'tablettes'"> : {{ structure.nbTablets }}</span> <span *ngIf="equipement == 'tablettes' && structure.nbTablets"> : {{ structure.nbTablets }}</span>
<span *ngIf="equipement == 'bornesNumeriques'"> : {{ structure.nbNumericTerminal }}</span> <span *ngIf="equipement == 'bornesNumeriques' && structure.nbNumericTerminal">
<span *ngIf="equipement == 'imprimantes'"> : {{ structure.nbPrinters }}</span> : {{ structure.nbNumericTerminal }}</span
>
<span *ngIf="equipement == 'imprimantes' && structure.nbPrinters"> : {{ structure.nbPrinters }}</span>
</p> </p>
</div> </div>
</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