Browse Source

Merge pull request #14788 from ArtemDzhereleiko/AD/enh/alarm-rules/home-page-link

Update link for alarm rule home page widget
pull/14790/head
Vladyslav Prykhodko 6 months ago
committed by GitHub
parent
commit
cdfb5bec95
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/modules/home/components/widget/lib/home-page/getting-started-widget.component.html

4
ui-ngx/src/app/modules/home/components/widget/lib/home-page/getting-started-widget.component.html

@ -166,11 +166,11 @@
<ng-template matStepLabel>
<div class="flex items-center justify-between">
<div translate>widgets.getting-started.tenant-admin.step4.title</div>
<a *ngIf="matStepper.selectedIndex === 3" mat-button color="primary" routerLink="/profiles/deviceProfiles">{{ 'widgets.getting-started.tenant-admin.step4.alarm-rules' | translate }}</a>
<a *ngIf="matStepper.selectedIndex === 3" mat-button color="primary" routerLink="/alarms/alarm-rules">{{ 'widgets.getting-started.tenant-admin.step4.alarm-rules' | translate }}</a>
</div>
</ng-template>
<div [innerHTML]="'widgets.getting-started.tenant-admin.step4.content' | translate | safe: 'html'"></div>
<a mat-stroked-button color="primary" href="https://thingsboard.io/docs/getting-started-guides/helloworld/#step-4-configure-alarm-rules" target="_blank">
<a mat-stroked-button color="primary" href="https://thingsboard.io/docs/user-guide/alarm-rules/" target="_blank">
<mat-icon>description</mat-icon>{{ 'widgets.getting-started.tenant-admin.step4.how-to-configure-alarm-rules' | translate }}</a>
</mat-step>
<mat-step [completed]="gettingStarted.maxSelectedIndex > 3">

Loading…
Cancel
Save