From fd01b2313885f5f89bcdd4a1e8e1dcba12385ebb Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Wed, 17 Nov 2021 20:18:51 +0100 Subject: [PATCH] add partey shares --- .../pages/partey/timeslots/timeslot.dialog.html | 8 ++++++-- .../partey/timeslots/timeslots.component.html | 14 ++++++++++++-- .../pages/partey/timeslots/timeslots.compontent.ts | 4 ++-- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/app/pages/partey/timeslots/timeslot.dialog.html b/src/app/pages/partey/timeslots/timeslot.dialog.html index 4a51820..8cf64b2 100644 --- a/src/app/pages/partey/timeslots/timeslot.dialog.html +++ b/src/app/pages/partey/timeslots/timeslot.dialog.html @@ -5,11 +5,15 @@

{{'partey.timeslots.type.' + timeslot.type | i18n}}

- + + + + - + diff --git a/src/app/pages/partey/timeslots/timeslots.component.html b/src/app/pages/partey/timeslots/timeslots.component.html index 884c688..bd4de91 100644 --- a/src/app/pages/partey/timeslots/timeslots.component.html +++ b/src/app/pages/partey/timeslots/timeslots.component.html @@ -64,14 +64,24 @@ + + {{'partey.timeslots.share' | i18n}} + + +
+ {{ timeslot.share }} +
+ +
+ {{'partey.timeslots.stream' | i18n}}
- - {{ timeslot.stream }} + {{ timeslot.stream }}
diff --git a/src/app/pages/partey/timeslots/timeslots.compontent.ts b/src/app/pages/partey/timeslots/timeslots.compontent.ts index 1b6426e..7729503 100644 --- a/src/app/pages/partey/timeslots/timeslots.compontent.ts +++ b/src/app/pages/partey/timeslots/timeslots.compontent.ts @@ -32,10 +32,10 @@ export class ParteyTimeslotsComponent implements OnInit { filter: any = {}; pageSizeOptions: number[] = [ 5, 10, 25, 50 ]; visibilities = [ "PRIVATE", "PROTECTED", "PUBLIC" ]; - types = [ "VIDEO", "AUDIO" ]; + types = [ "VIDEO", "AUDIO", "AUDIO_STREAM", "VIDEO_STREAM" ]; userId: any; - timeslotsColumns = [ "type", "starts", "ends", "title", "description", "stream", "edit", "delete" ]; + timeslotsColumns = [ "type", "starts", "ends", "title", "description", "share", "stream", "edit", "delete" ]; searchFormControl = new FormControl(); ownerFormControl = new FormControl();