mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-18 04:06:19 +00:00
@@ -12,7 +12,16 @@
|
||||
~ You should have received a copy of the GNU General Public License along with
|
||||
~ 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-header>
|
||||
{{ 'inPlace' | propertyNameTranslate: item | titlecase }}
|
||||
@@ -29,16 +38,29 @@
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
<stapps-simple-card
|
||||
[title]="'Duration'"
|
||||
title="{{ 'duration' | propertyNameTranslate: item | titlecase }}"
|
||||
[content]="[item.duration | amDuration: 'minutes']"
|
||||
></stapps-simple-card>
|
||||
<stapps-simple-card
|
||||
[title]="'Time'"
|
||||
[content]="[item.dates[0] | amDateFormat]"
|
||||
*ngIf="item.dates.length > 1; else single_event"
|
||||
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>
|
||||
<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
|
||||
*ngIf="item.performers"
|
||||
[title]="'performers' | propertyNameTranslate: item | titlecase"
|
||||
[title]="'performers' | propertyNameTranslate: item.performers | titlecase"
|
||||
[content]="item.performers"
|
||||
></stapps-simple-card>
|
||||
<stapps-offers-detail
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<ion-card
|
||||
[style.height.px]="height * scale"
|
||||
[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.blueCard]="cardColor.isBlue"
|
||||
[class.blackCard]="cardColor.isBlack"
|
||||
|
||||
Reference in New Issue
Block a user