Skip to content
Snippets Groups Projects
Commit 6c54f45a authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #17150 TIME 0:35 align frequency message + fix css

parent 9a8967ce
No related branches found
No related tags found
No related merge requests found
...@@ -212,20 +212,20 @@ ...@@ -212,20 +212,20 @@
<ion-item lines="none"> <ion-item lines="none">
<ion-label color="secondary">{{'lang.periodicNotification' | translate}}</ion-label> <ion-label color="secondary">{{'lang.periodicNotification' | translate}}</ion-label>
</ion-item> </ion-item>
<div *ngIf="periodicNotifications.length > 0; else elseTemplate"> <div *ngFor="let notification of periodicNotifications">
<ion-item *ngFor="let notification of periodicNotifications"> <ion-item lines="none">
<ion-label>{{ notification.label }}</ion-label> <ion-label>{{ notification.label }}</ion-label>
<ion-toggle slot="start" name="periodicNotification" color="primary" style="cursor: pointer" <ion-toggle slot="start" name="periodicNotification" color="primary" style="cursor: pointer"
[checked]="notification.checked" (ionChange)="notification.checked = !notification.checked" [title]="notification.label"> [checked]="notification.checked" (ionChange)="notification.checked = !notification.checked" [title]="notification.label">
</ion-toggle> </ion-toggle>
<ion-note slot="end" class="notifFrequency" [innerHTML]="notification.frequency"></ion-note>
</ion-item> </ion-item>
</div>
<ng-template #elseTemplate>
<ion-item> <ion-item>
<ion-label color="primary" style="font-style: italic;">{{ 'lang.noScheduledNotif' | translate }}</ion-label> <ion-note class="notifFrequency" [innerHTML]="notification.frequency"></ion-note>
</ion-item> </ion-item>
</ng-template> </div>
<ion-item *ngIf="periodicNotifications.length === 0">
<ion-label color="primary" style="font-style: italic;">{{ 'lang.noScheduledNotif' | translate }}</ion-label>
</ion-item>
</ng-container> </ng-container>
</ion-content> </ion-content>
</form> </form>
......
...@@ -196,8 +196,8 @@ legend { ...@@ -196,8 +196,8 @@ legend {
} }
.notifFrequency { .notifFrequency {
font-size: 14px; font-size: 13px;
font-family: 'cursive'; font-family: 'cursive';
position: absolute; position: absolute;
left: 40%; left: 0px;
} }
\ No newline at end of file
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