@@ -24,7 +24,7 @@
{{ 'data.detail.offers.sold_out' | translate }}
-
+
{{ _offers[0].inPlace.name
}} 1">...
diff --git a/src/app/modules/data/list/data-list-item.component.ts b/src/app/modules/data/list/data-list-item.component.ts
index d857ca4a..d2a926fa 100644
--- a/src/app/modules/data/list/data-list-item.component.ts
+++ b/src/app/modules/data/list/data-list-item.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2022 StApps
+ * Copyright (C) 2023 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -12,7 +12,7 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see
.
*/
-import {Component, ContentChild, Input, TemplateRef} from '@angular/core';
+import {Component, ContentChild, HostBinding, Input, TemplateRef} from '@angular/core';
import {SCThings} from '@openstapps/core';
import {DataRoutingService} from '../data-routing.service';
import {DataListContext} from './data-list.component';
@@ -40,8 +40,14 @@ export class DataListItemComponent {
@Input() lines = 'inset';
+ @Input() appearance: 'normal' | 'square' = 'normal';
+
@ContentChild(TemplateRef) contentTemplateRef: TemplateRef
>;
+ @HostBinding('class.square') get square() {
+ return this.appearance === 'square';
+ }
+
constructor(private readonly dataRoutingService: DataRoutingService) {}
/**
diff --git a/src/app/modules/data/list/data-list-item.html b/src/app/modules/data/list/data-list-item.html
index c3293d4e..7cd74600 100644
--- a/src/app/modules/data/list/data-list-item.html
+++ b/src/app/modules/data/list/data-list-item.html
@@ -112,7 +112,11 @@
>
-