Revize f39f16d4
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/dashboard/components/dashboard.component.html | ||
---|---|---|
14 | 14 |
<div class="col-md-8"><h3>{{ unit.unit.description}}</h3></div> |
15 | 15 |
<div class="col-md-4 text-right"> |
16 | 16 |
<p-button label="Sensors graph" icon="pi pi-chart-line" [routerLink]="['/dashboard/unit', unit.unit.unitId]"></p-button> |
17 |
<p-splitButton *ngIf="loggedUser?.userInfo?.rightsId == 0 || loggedUser?.userInfo?.rightsId == 1" label="Add sensor" (onClick)="insertSensorPopup($event, unit.unit)" icon="pi pi-plus-circle" (onDropdownClick)="showItems($event, unit.unit)" [model]="items" styleClass="p-button-warning"></p-splitButton>
|
|
17 |
<p-splitButton *ngIf="loggedUser?.userInfo?.rightsId == 0 || loggedUser?.userInfo?.rightsId == 1" label="Add sensor" (onClick)="insertSensorPopup($event, unit.unit)" icon="pi pi-plus-circle" (onDropdownClick)="showItems($event, unit.unit)" [model]="items" styleClass="p-button-success"></p-splitButton>
|
|
18 | 18 |
</div> |
19 | 19 |
</div> |
20 | 20 |
</p-header> |
Také k dispozici: Unified diff
Re #8789 - Přidat sensor - formulář, endpoint