44
44
</ mat-form-field >
45
45
</ div >
46
46
47
- < div *ngFor =" let vn of event.venues; let i = index " >
48
- < mat-form-field class ="full-width-details venue ">
47
+ < div >
48
+ <!-- < mat-form-field class="full-width-details venue">
49
49
<input matInput placeholder="Venue" aria-label="Venue" [matAutocomplete]="venueAuto"
50
- [formControl] ="venueControls[i ].form ">
50
+ [formControl]="venueControls[0 ].form">
51
51
</mat-form-field>
52
52
53
53
<mat-autocomplete #venueAuto="matAutocomplete">
54
- < mat-option *ngFor ="let venue of venueControls[i ].filteredLocations | async " [value] ="venue.short_name ">
54
+ <mat-option *ngFor="let venue of venueControls[0 ].filteredLocations | async" [value]="venue.short_name">
55
55
{{ venue.short_name }}
56
56
</mat-option>
57
- </ mat-autocomplete >
57
+ </mat-autocomplete> -->
58
58
59
- < button *ngIf ="i==0 " (click) ="AddVenue() " mat-icon-button >
59
+ < mat-form-field class ="full-width-details venue ">
60
+ < mat-select
61
+ placeholder ="Venue / Building "
62
+ [(ngModel)] ="event.venues[0].short_name "
63
+ required
64
+ panelClass ="venue-dropdown-panel ">
65
+ < mat-option *ngFor ="let location of predefinedLocations " [value] ="location ">
66
+ {{ location }}
67
+ </ mat-option >
68
+ </ mat-select >
69
+ </ mat-form-field >
70
+
71
+ < mat-form-field class ="full-width-details ">
72
+ < input
73
+ matInput
74
+ placeholder ="Specific Location / Room (optional) "
75
+ [(ngModel)] ="event.venue_room ">
76
+ </ mat-form-field >
77
+ <!-- <button *ngIf="i==0" (click)="AddVenue()" mat-icon-button>
60
78
<mat-icon>add</mat-icon>
61
79
</button>
62
80
<button *ngIf="i!=0" (click)="RemoveVenue(i)" mat-icon-button>
63
81
<mat-icon>remove</mat-icon>
64
- </ button >
82
+ </button> -->
65
83
</ div >
66
84
67
85
< div >
79
97
80
98
< div >
81
99
< mat-form-field class ="full-width-details ">
82
- < mat-select [(ngModel)] ="event.verification_bodies_id " placeholder ="Verification Bodies " multiple >
100
+ < mat-select [(ngModel)] ="event.verification_bodies_id[0] " placeholder ="Verification Bodies " required >
83
101
< mat-option *ngFor ="let verification_body of verification_bodies " [value] ="verification_body.id ">
84
102
{{ verification_body.name }}
85
103
</ mat-option >
90
108
</ mat-form-field >
91
109
</ div >
92
110
93
- < div class ="full-width-details ">
111
+ <!-- < div class="full-width-details">
94
112
<app-search-box exploreProp="interests" displayProp="title" placeholder="Notify according to interests"
95
113
hint="Enter a Interest" (change)="setInterest($event)">
96
114
</app-search-box>
100
118
101
119
</app-interest-card>
102
120
103
- </ div >
121
+ </div> -->
104
122
105
123
< div >
106
124
< mat-form-field class ="full-width-details ">
117
135
118
136
< div >
119
137
< mat-form-field class ="full-width-details ">
120
- < textarea matInput placeholder ="Email Content / InstiApp Description " [(ngModel)] ="event.longdescription " (ngModelChange) ="event.description = $event " rows =8 > </ textarea >
138
+ < textarea matInput placeholder ="Email Content / InstiApp Description " [(ngModel)] ="event.description " (ngModelChange) ="event.description = $event " rows =8 > </ textarea >
121
139
</ mat-form-field >
122
140
</ div >
123
141
124
- < div class ="audience-panel " *ngIf ="tagCategoryList ">
142
+ <!-- < div class="audience-panel" *ngIf="tagCategoryList">
125
143
<div class="full-width-details">
126
144
<div class="label tag-category">
127
145
Offered Achievements
128
146
<button mat-button class="has float-right" (click)="addOffer()">Add</button>
129
147
<div class="sub">
130
148
Make your event stand out
131
149
</div>
132
- </ div >
150
+ </div> -->
133
151
134
- < mat-accordion >
152
+ <!-- < mat-accordion>
135
153
<mat-expansion-panel *ngFor="let offer of offeredAchievements">
136
154
<mat-expansion-panel-header>
137
155
<mat-panel-title>
155
173
</mat-expansion-panel>
156
174
</mat-accordion>
157
175
</div>
158
- </ div >
176
+ </div> -->
159
177
160
- < div class ="audience-panel " *ngIf ="tagCategoryList ">
178
+ <!-- < div class="audience-panel" *ngIf="tagCategoryList">
161
179
<div class="full-width-details">
162
180
<div class="label">
163
181
Restricted Audience
195
213
</mat-expansion-panel>
196
214
</mat-accordion>
197
215
</div>
198
- </ div >
199
-
216
+ </div> -->
217
+ <!--
200
218
<div>
201
219
<div class="full-width-details switch">
202
220
<mat-slide-toggle [(ngModel)]="event.notify">
203
221
Notify followers on creation/updation
204
222
</mat-slide-toggle>
205
223
</div>
206
- </ div >
224
+ </div> -->
207
225
208
226
209
227
229
247
target ="_blank "> Markdown</ a > is supported
230
248
</ div >
231
249
< markdown class ="markdown " [data] ="event.email_subject "> </ markdown >
232
- < markdown class ="markdown " [data] ="event.longdescription "> </ markdown >
250
+ < markdown class ="markdown " [data] ="event.description "> </ markdown >
233
251
</ div >
234
252
235
253
</ app-desktop-split >
0 commit comments