Skip to content

Commit

Permalink
Code formatting ignore-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
GCCollabBot committed Mar 20, 2024
1 parent 35c442f commit cc7dae2
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/app/features/calendar/calendar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<app-button
theme="black"
matButtonType="mat-icon-button"
[tooltip]="searchActive ? (translations.calendar.controls.search.close| translate) : (translations.calendar.controls.search.title | translate)"
[tooltip]="searchActive ? (translations.calendar.controls.search.close | translate) : (translations.calendar.controls.search.title | translate)"
[tooltipDirection]="TooltipDirection.Above"
[ariaLabel]="searchActive ? (translations.calendar.controls.search.aria_close | translate) : (translations.calendar.controls.search.aria_open | translate)"
[disabled]="loading"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<mat-card>
<mat-card-header>
<span>{{ isToday(calendarDate.date) ? (translations.calendar.events.title.today | translate) : (translations.calendar.events.title.not_today | translate) + (calendarDate.date | localizedDate) }}</span>
<span>{{
isToday(calendarDate.date) ? (translations.calendar.events.title.today | translate) : (translations.calendar.events.title.not_today | translate) + (calendarDate.date | localizedDate)
}}</span>

<!-- Add Event -->
<app-button
theme="black"
matButtonType="mat-icon-button"
[tooltip]="translations.calendar.controls.add_event.title | translate"
[ariaLabel]="translations.calendar.controls.add_event.title | translate"
<app-button
theme="black"
matButtonType="mat-icon-button"
[tooltip]="translations.calendar.controls.add_event.title | translate"
[ariaLabel]="translations.calendar.controls.add_event.title | translate"
(click)="createEvent()"
>
<i class="fa-solid fa-calendar-plus fa-lg"></i>
Expand Down Expand Up @@ -63,11 +65,11 @@

<div class="actions">
<!-- Edit -->
<app-button
theme="black"
matButtonType="mat-icon-button"
[tooltip]="translations.calendar.events.actions.edit.title | translate"
[ariaLabel]="translations.calendar.events.actions.edit.aria | translate"
<app-button
theme="black"
matButtonType="mat-icon-button"
[tooltip]="translations.calendar.events.actions.edit.title | translate"
[ariaLabel]="translations.calendar.events.actions.edit.aria | translate"
(click)="editEvent(event)"
>
<i class="fa-solid fa-pen-to-square"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
[required]="false"
>
</app-input>
<mat-slide-toggle [checked]="showAll"
(change)="setShowAll($event)"
[ariaLabel]="showAll ? (translations.calendar.search.show_all.aria_off| translate) : (translations.calendar.search.show_all.aria_on| translate)"
color="secondary">
<mat-slide-toggle
[checked]="showAll"
(change)="setShowAll($event)"
[ariaLabel]="showAll ? (translations.calendar.search.show_all.aria_off | translate) : (translations.calendar.search.show_all.aria_on | translate)"
color="secondary"
>
{{ translations.calendar.search.show_all.title | translate }}
</mat-slide-toggle>
</form>
Expand Down Expand Up @@ -52,5 +54,13 @@
</div>
}
</mat-accordion>
<mat-paginator #paginator="matPaginator" [length]="filteredEvents.length" [pageSize]="5" [pageSizeOptions]="[5, 10]" (page)="pageEvent($event)" [ariaLabel]="translations.calendar.paginator.aria | translate"> </mat-paginator>
<mat-paginator
#paginator="matPaginator"
[length]="filteredEvents.length"
[pageSize]="5"
[pageSizeOptions]="[5, 10]"
(page)="pageEvent($event)"
[ariaLabel]="translations.calendar.paginator.aria | translate"
>
</mat-paginator>
</mat-card>

0 comments on commit cc7dae2

Please sign in to comment.