- 0">
+
@@ -52,14 +60,49 @@
osAutofocus
required
formControlName="title"
- placeholder="{{ 'Title' | translate}}"
+ placeholder="{{ 'Title' | translate }}"
/>
A name is required
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ type.name | translate }}
+
+
+
+
+
+
+
+
+
+
diff --git a/client/src/app/site/agenda/components/topic-detail/topic-detail.component.ts b/client/src/app/site/agenda/components/topic-detail/topic-detail.component.ts
index 827e37524..716c1e54d 100644
--- a/client/src/app/site/agenda/components/topic-detail/topic-detail.component.ts
+++ b/client/src/app/site/agenda/components/topic-detail/topic-detail.component.ts
@@ -11,6 +11,11 @@ import { BaseViewComponent } from 'app/site/base/base-view';
import { PromptService } from 'app/core/services/prompt.service';
import { TopicRepositoryService } from '../../services/topic-repository.service';
import { ViewTopic } from '../../models/view-topic';
+import { OperatorService } from 'app/core/services/operator.service';
+import { BehaviorSubject } from 'rxjs';
+import { DataStoreService } from 'app/core/services/data-store.service';
+import { Mediafile } from 'app/shared/models/mediafiles/mediafile';
+import { Item, itemVisibilityChoices } from 'app/shared/models/agenda/item';
/**
* Detail page for topics.
@@ -41,8 +46,24 @@ export class TopicDetailComponent extends BaseViewComponent {
*/
public topicForm: FormGroup;
+ /**
+ * Subject for mediafiles
+ */
+ public mediafilesObserver: BehaviorSubject