|
93 | 93 | </mat-form-field> |
94 | 94 | </div> |
95 | 95 |
|
96 | | - <div *ngFor="let vn of event.venues; let i = index"> |
97 | | - <mat-form-field class="full-width-details venue"> |
98 | | - <input |
99 | | - matInput |
100 | | - placeholder="Venue" |
101 | | - aria-label="Venue" |
102 | | - [matAutocomplete]="venueAuto" |
103 | | - [formControl]="venueControls[i].form" |
104 | | - /> |
| 96 | + <div> |
| 97 | + <!-- <mat-form-field class="full-width-details venue"> |
| 98 | + <input matInput placeholder="Venue" aria-label="Venue" [matAutocomplete]="venueAuto" |
| 99 | + [formControl]="venueControls[0].form"> |
105 | 100 | </mat-form-field> |
106 | 101 |
|
107 | 102 | <mat-autocomplete #venueAuto="matAutocomplete"> |
108 | | - <mat-option |
109 | | - *ngFor="let venue of venueControls[i].filteredLocations | async" |
110 | | - [value]="venue.short_name" |
111 | | - > |
| 103 | + <mat-option *ngFor="let venue of venueControls[0].filteredLocations | async" [value]="venue.short_name"> |
112 | 104 | {{ venue.short_name }} |
113 | 105 | </mat-option> |
114 | | - </mat-autocomplete> |
| 106 | + </mat-autocomplete> --> |
| 107 | + |
| 108 | + <mat-form-field class="full-width-details venue"> |
| 109 | + <mat-select |
| 110 | + placeholder="Venue / Building" |
| 111 | + [(ngModel)]="event.venues[0].short_name" |
| 112 | + required |
| 113 | + panelClass="venue-dropdown-panel" |
| 114 | + > |
| 115 | + <mat-option |
| 116 | + *ngFor="let location of predefinedLocations" |
| 117 | + [value]="location" |
| 118 | + > |
| 119 | + {{ location }} |
| 120 | + </mat-option> |
| 121 | + </mat-select> |
| 122 | + </mat-form-field> |
115 | 123 |
|
116 | | - <button *ngIf="i == 0" (click)="AddVenue()" mat-icon-button> |
| 124 | + <mat-form-field class="full-width-details"> |
| 125 | + <input |
| 126 | + matInput |
| 127 | + placeholder="Specific Location / Room (optional)" |
| 128 | + [(ngModel)]="event.venue_room" |
| 129 | + /> |
| 130 | + </mat-form-field> |
| 131 | + <!-- <button *ngIf="i==0" (click)="AddVenue()" mat-icon-button> |
117 | 132 | <mat-icon>add</mat-icon> |
118 | 133 | </button> |
119 | 134 | <button *ngIf="i !== 0" (click)="RemoveVenue(i)" mat-icon-button> |
120 | 135 | <mat-icon>remove</mat-icon> |
121 | | - </button> |
| 136 | + </button> --> |
122 | 137 | </div> |
123 | 138 |
|
124 | 139 | <div> |
|
146 | 161 | <div> |
147 | 162 | <mat-form-field class="full-width-details"> |
148 | 163 | <mat-select |
149 | | - [(ngModel)]="event.verification_bodies_id" |
| 164 | + [(ngModel)]="event.verification_bodies_id[0]" |
150 | 165 | placeholder="Verification Bodies" |
151 | | - multiple |
| 166 | + required |
152 | 167 | > |
153 | 168 | <mat-option |
154 | 169 | *ngFor="let verification_body of verification_bodies" |
|
167 | 182 | </mat-form-field> |
168 | 183 | </div> |
169 | 184 |
|
170 | | - <div class="full-width-details"> |
171 | | - <app-search-box |
172 | | - exploreProp="interests" |
173 | | - displayProp="title" |
174 | | - placeholder="Notify according to interests" |
175 | | - hint="Enter a Interest" |
176 | | - (change)="setInterest($event)" |
177 | | - > |
| 185 | + <!-- <div class="full-width-details"> |
| 186 | + <app-search-box exploreProp="interests" displayProp="title" placeholder="Notify according to interests" |
| 187 | + hint="Enter a Interest" (change)="setInterest($event)"> |
178 | 188 | </app-search-box> |
179 | 189 |
|
180 | 190 | <app-interest-card |
|
184 | 194 | [deleteMethod]="deleteInterestFunc" |
185 | 195 | > |
186 | 196 | </app-interest-card> |
187 | | - </div> |
| 197 | +
|
| 198 | + </div> --> |
188 | 199 |
|
189 | 200 | <div> |
190 | 201 | <mat-form-field class="full-width-details"> |
|
214 | 225 | <textarea |
215 | 226 | matInput |
216 | 227 | placeholder="Email Content / InstiApp Description" |
217 | | - [(ngModel)]="event.longdescription" |
| 228 | + [(ngModel)]="event.description" |
218 | 229 | (ngModelChange)="event.description = $event" |
219 | 230 | rows="8" |
220 | 231 | ></textarea> |
221 | 232 | </mat-form-field> |
222 | 233 | </div> |
223 | 234 |
|
224 | | - <div class="audience-panel" *ngIf="tagCategoryList"> |
| 235 | + <!-- <div class="audience-panel" *ngIf="tagCategoryList"> |
225 | 236 | <div class="full-width-details"> |
226 | 237 | <div class="label tag-category"> |
227 | 238 | Offered Achievements |
228 | | - <button mat-button class="has float-right" (click)="addOffer()"> |
229 | | - Add |
230 | | - </button> |
231 | | - <div class="sub">Make your event stand out</div> |
232 | | - </div> |
| 239 | + <button mat-button class="has float-right" (click)="addOffer()">Add</button> |
| 240 | + <div class="sub"> |
| 241 | + Make your event stand out |
| 242 | + </div> |
| 243 | + </div> --> |
233 | 244 |
|
234 | | - <mat-accordion> |
| 245 | + <!-- <mat-accordion> |
235 | 246 | <mat-expansion-panel *ngFor="let offer of offeredAchievements"> |
236 | 247 | <mat-expansion-panel-header> |
237 | 248 | <mat-panel-title> |
|
266 | 277 | </mat-expansion-panel> |
267 | 278 | </mat-accordion> |
268 | 279 | </div> |
269 | | - </div> |
| 280 | + </div> --> |
270 | 281 |
|
271 | | - <div class="audience-panel" *ngIf="tagCategoryList"> |
| 282 | + <!-- <div class="audience-panel" *ngIf="tagCategoryList"> |
272 | 283 | <div class="full-width-details"> |
273 | 284 | <div class="label"> |
274 | 285 | Restricted Audience |
|
320 | 331 | </mat-expansion-panel> |
321 | 332 | </mat-accordion> |
322 | 333 | </div> |
323 | | - </div> |
324 | | - |
| 334 | + </div> --> |
| 335 | + <!-- |
325 | 336 | <div> |
326 | 337 | <div class="full-width-details switch"> |
327 | 338 | <mat-slide-toggle [(ngModel)]="event.notify"> |
328 | 339 | Notify followers on creation/updation |
329 | 340 | </mat-slide-toggle> |
330 | 341 | </div> |
331 | | - </div> |
| 342 | + </div> --> |
332 | 343 |
|
333 | 344 | <div> |
334 | 345 | <button |
|
367 | 378 | is supported |
368 | 379 | </div> |
369 | 380 | <markdown class="markdown" [data]="event.email_subject"></markdown> |
370 | | - <markdown class="markdown" [data]="event.longdescription"></markdown> |
| 381 | + <markdown class="markdown" [data]="event.description"></markdown> |
371 | 382 | </div> |
372 | 383 | </app-desktop-split> |
0 commit comments