Skip to content

Commit

Permalink
#2: added an action to reactivate a cleared alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Peter committed Jun 12, 2024
1 parent 92183ae commit 9559851
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,17 @@ <h2 translate>Reminder</h2>
</button>
<button
*ngIf="reminder.status !== reminderStatus.cleared"
type="button"
title="{{ 'Clear the reminder' | translate }}"
type="button" title="{{ 'Clear the reminder' | translate }}"
class="btn btn-xs btn-hollow btn-danger"
(click)="updateReminder(reminder, reminderStatus.cleared)"
>
<i [c8yIcon]="'check-circle'"></i>
</button>
<button
*ngIf="reminder.status === reminderStatus.cleared" type="button" title="{{ 'Reactivate the reminder' | translate }}"
class="btn btn-xs btn-hollow btn-primary" (click)="updateReminder(reminder, reminderStatus.active)">
<i [c8yIcon]="'bell'"></i>
</button>
</ul>
</header>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ aside {
}

.actions {
margin: 0;
margin: 0 0 0 8px;
display: flex;
flex: 0 0 auto;
padding: 0;
Expand Down

0 comments on commit 9559851

Please sign in to comment.