diff --git a/src/app/advertisement-status/advertisementStatus.ts b/src/app/advertisement-status/advertisementStatus.ts new file mode 100644 index 0000000..70a38c4 --- /dev/null +++ b/src/app/advertisement-status/advertisementStatus.ts @@ -0,0 +1,12 @@ + +import { HateoasResource, Resource } from "@lagoshny/ngx-hateoas-client"; + +@HateoasResource('advertisement-status') +export class AdvertisementStatus extends Resource { + id: number = 0; + name: string = ''; + constructor(values: object = {}) { + super(); + Object.assign(this , values); + } +} diff --git a/src/app/advertisement/advertisement-delete/advertisement-delete.component.html b/src/app/advertisement/advertisement-delete/advertisement-delete.component.html new file mode 100644 index 0000000..1ad9e35 --- /dev/null +++ b/src/app/advertisement/advertisement-delete/advertisement-delete.component.html @@ -0,0 +1,5 @@ +
Are you sure you want to delete this advertisement?
+ +{{ ad.title }}
+{{ ad.price | currency }}
+{{ ad.zipCode }}
+{{ ad.country }}
+{{ ad.address }}
+{{ ad.creationDate | date: 'dd/MM/yyyy HH:mm:ss' }}
+{{ ad.description }}
+