mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
feat: timetable module - schedule and calendar
This commit is contained in:
30
src/app/modules/schedule/page/grid/schedule-card.html
Normal file
30
src/app/modules/schedule/page/grid/schedule-card.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<ion-card
|
||||
[style.height.px]="height * scale"
|
||||
[style.marginTop.px]="(fromY - fromHour) * scale - 5"
|
||||
[routerLink]="['/data-detail', scheduleEvent.dateSeries.event.uid]"
|
||||
>
|
||||
<ion-card-header mode="md">
|
||||
<ion-card-title>
|
||||
{{
|
||||
this.scheduleEvent.dateSeries.event.name
|
||||
| nullishCoalesce: this.scheduleEvent.dateSeries.name
|
||||
}}
|
||||
</ion-card-title>
|
||||
<ion-card-subtitle>
|
||||
<ion-icon name="calendar"></ion-icon>
|
||||
<span class="repetitions">
|
||||
{{ scheduleEvent.dateSeries.frequency }}
|
||||
until
|
||||
{{
|
||||
scheduleEvent.dateSeries.dates | last | amDateFormat: 'DD. MMM YYYY'
|
||||
}}
|
||||
</span>
|
||||
</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
<ion-card-content>
|
||||
<ion-note>
|
||||
{{ getNote() }}
|
||||
</ion-note>
|
||||
</ion-card-content>
|
||||
<div></div>
|
||||
</ion-card>
|
||||
Reference in New Issue
Block a user