Skip to content

Commit

Permalink
Feature/2/re activate reminder (#24)
Browse files Browse the repository at this point in the history
* #2: added an action to reactivate a cleared alarm

* #2 adjusts template markup

---------

Co-authored-by: Dirk Peter <[email protected]>
  • Loading branch information
dirk-peter-c8y and Dirk Peter authored Jun 12, 2024
1 parent 92183ae commit 6bb30d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ <h2 translate>Reminder</h2>
>
<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 6bb30d1

Please sign in to comment.