diff --git a/public/effizienz-icon.svg b/public/effizienz-icon.svg new file mode 100644 index 00000000..c42d56ed --- /dev/null +++ b/public/effizienz-icon.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/profile-placeholder.png b/public/images/profile-placeholder.png index ffcca6fc..be3e14d2 100644 Binary files a/public/images/profile-placeholder.png and b/public/images/profile-placeholder.png differ diff --git a/src/components/Dashboard/DashboardObjekt.svelte b/src/components/Dashboard/DashboardObjekt.svelte index 573652b5..0a47685a 100644 --- a/src/components/Dashboard/DashboardObjekt.svelte +++ b/src/components/Dashboard/DashboardObjekt.svelte @@ -7,40 +7,48 @@ export let objekt: ObjektKomplettClient; -
+
{#if objekt.aufnahmen.length > 0} {@const bild = objekt.aufnahmen[0].bilder.find(bild => bild.kategorie === Enums.BilderKategorie.Gebaeude)} - +
{#if bild} - Gebäude + Gebäude {:else} - Gebäude + Gebäude {/if} +

{objekt.adresse}, {objekt.plz} {objekt.ort}

+
{/if} -
-
-

{objekt.adresse}, {objekt.plz} {objekt.ort}

- {moment(objekt.erstellungsdatum).format("DD.MM.YYYY")} +
+
+
+ Energieausweis ausgestellt +
+
Energieausweis
- -
- {#each objekt.aufnahmen as aufnahme} -
-
- Stand vom {moment(aufnahme.erstellungsdatum).format("DD.MM.YYYY")} - -
-
- {#if aufnahme.verbrauchsausweise_wohnen.length > 0} - - {/if} - {#if aufnahme.verbrauchsausweise_gewerbe.length > 0} - - {/if} -
-
- {/each} +
+
+ Energieausweis ausgestellt +
+
Energieausweis
-
\ No newline at end of file +
+ {#each objekt.aufnahmen as aufnahme} +
+
+ Detailübersicht
Stand vom {moment(aufnahme.erstellungsdatum).format("DD.MM.YYYY")}
+ +
+
+
+
+ Detailübersicht
Stand vom {moment(aufnahme.erstellungsdatum).format("DD.MM.YYYY")}
+ +
+
+ {/each} +
+
+
\ No newline at end of file diff --git a/src/components/Dashboard/DashboardSidebar.svelte b/src/components/Dashboard/DashboardSidebar.svelte index d21db3e2..8e68530f 100644 --- a/src/components/Dashboard/DashboardSidebar.svelte +++ b/src/components/Dashboard/DashboardSidebar.svelte @@ -40,14 +40,36 @@
- Gebäude + Vorgänge - {#each objekte as objekt} - {#if objekt.aufnahmen.length > 0} - {objekt.adresse}
{objekt.plz} {objekt.ort}
+ + + Inbox + +
- {/if} - {/each} + + + -
+
{#each objekte as objekt} {/each}