<stapps-place-mensa-detail-content
  [item]="item"
  *ngIf="isMensaThing(item)"
></stapps-place-mensa-detail-content>
<ng-container *ngIf="item.type !== 'floor'">
  <stapps-simple-card
    *ngIf="item.type !== 'floor' && item.categories"
    [title]="'categories' | propertyNameTranslate: item | titlecase"
    [content]="'categories' | thingTranslate: item"
  ></stapps-simple-card>
  <stapps-address-detail
    *ngIf="item.type !== 'floor' && item.address"
    [address]="item.address"
  ></stapps-address-detail>
</ng-container>
<ng-container *ngIf="item.type !== 'building'">
  <ion-card *ngIf="item.inPlace">
    <ion-card-header>
      {{ 'inPlace' | propertyNameTranslate: item | titlecase }}
    </ion-card-header>
    <ion-card-content>
      <ion-icon name="location"></ion-icon>
      <a [routerLink]="['/data-detail', item.inPlace.uid]">{{
        'name' | thingTranslate: item.inPlace
      }}</a>
    </ion-card-content>
  </ion-card>
</ng-container>
<ng-container *ngIf="hasValidLocation">
  <ion-card class="map-widget">
    <stapps-map-widget [place]="item" expandable="true"></stapps-map-widget>
  </ion-card>
</ng-container>
