mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
@@ -12,7 +12,16 @@
|
|||||||
~ You should have received a copy of the GNU General Public License along with
|
~ You should have received a copy of the GNU General Public License along with
|
||||||
~ this program. If not, see <https://www.gnu.org/licenses/>.
|
~ this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
<ion-card>
|
||||||
|
<ion-card-header>
|
||||||
|
{{ 'event' | propertyNameTranslate: item | titlecase }}
|
||||||
|
</ion-card-header>
|
||||||
|
<ion-card-content>
|
||||||
|
<a [routerLink]="['/data-detail', item.event.uid]">{{
|
||||||
|
'name' | thingTranslate: item.event
|
||||||
|
}}</a>
|
||||||
|
</ion-card-content>
|
||||||
|
</ion-card>
|
||||||
<ion-card *ngIf="item.inPlace">
|
<ion-card *ngIf="item.inPlace">
|
||||||
<ion-card-header>
|
<ion-card-header>
|
||||||
{{ 'inPlace' | propertyNameTranslate: item | titlecase }}
|
{{ 'inPlace' | propertyNameTranslate: item | titlecase }}
|
||||||
@@ -29,16 +38,29 @@
|
|||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
</ion-card>
|
</ion-card>
|
||||||
<stapps-simple-card
|
<stapps-simple-card
|
||||||
[title]="'Duration'"
|
title="{{ 'duration' | propertyNameTranslate: item | titlecase }}"
|
||||||
[content]="[item.duration | amDuration: 'minutes']"
|
[content]="[item.duration | amDuration: 'minutes']"
|
||||||
></stapps-simple-card>
|
></stapps-simple-card>
|
||||||
<stapps-simple-card
|
<stapps-simple-card
|
||||||
[title]="'Time'"
|
*ngIf="item.dates.length > 1; else single_event"
|
||||||
[content]="[item.dates[0] | amDateFormat]"
|
title="{{ 'dates' | propertyNameTranslate: item | titlecase }}"
|
||||||
|
content="{{ 'data.chips.add_events.popover.AT' | translate | titlecase }} {{
|
||||||
|
item.dates[0] | amDateFormat: 'HH:mm ddd'
|
||||||
|
}} {{ 'data.chips.add_events.popover.UNTIL' | translate }} {{
|
||||||
|
item.dates[item.dates.length - 1] | amDateFormat: 'll'
|
||||||
|
}}"
|
||||||
></stapps-simple-card>
|
></stapps-simple-card>
|
||||||
|
<ng-template #single_event>
|
||||||
|
<stapps-simple-card
|
||||||
|
title="{{ 'dates' | propertyNameTranslate: item | titlecase }}"
|
||||||
|
content="{{ 'data.chips.add_events.popover.AT' | translate | titlecase }} {{
|
||||||
|
item.dates[item.dates.length - 1] | amDateFormat: 'll, HH:mm'
|
||||||
|
}}"
|
||||||
|
></stapps-simple-card>
|
||||||
|
</ng-template>
|
||||||
<stapps-simple-card
|
<stapps-simple-card
|
||||||
*ngIf="item.performers"
|
*ngIf="item.performers"
|
||||||
[title]="'performers' | propertyNameTranslate: item | titlecase"
|
[title]="'performers' | propertyNameTranslate: item.performers | titlecase"
|
||||||
[content]="item.performers"
|
[content]="item.performers"
|
||||||
></stapps-simple-card>
|
></stapps-simple-card>
|
||||||
<stapps-offers-detail
|
<stapps-offers-detail
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<ion-card
|
<ion-card
|
||||||
[style.height.px]="height * scale"
|
[style.height.px]="height * scale"
|
||||||
[style.marginTop.px]="noOffset ? 0 : (fromY - fromHour) * scale - 5 + 45"
|
[style.marginTop.px]="noOffset ? 0 : (fromY - fromHour) * scale - 5 + 45"
|
||||||
[routerLink]="['/data-detail', scheduleEvent.dateSeries.event.uid]"
|
[routerLink]="['/data-detail', scheduleEvent.dateSeries.uid]"
|
||||||
[class.defaultCard]="cardColor.isDefault"
|
[class.defaultCard]="cardColor.isDefault"
|
||||||
[class.blueCard]="cardColor.isBlue"
|
[class.blueCard]="cardColor.isBlue"
|
||||||
[class.blackCard]="cardColor.isBlack"
|
[class.blackCard]="cardColor.isBlack"
|
||||||
|
|||||||
Reference in New Issue
Block a user