Enable UI to work with event status
This commit is contained in:
@@ -28,6 +28,12 @@
|
||||
<td class="{{invalidUrlError? 'has-error' : ''}}">
|
||||
<input type="text" [(ngModel)]="event!.url">
|
||||
</td>
|
||||
<td>
|
||||
<select [(ngModel)]="event!.status">
|
||||
<option value="DRAFT">Draft</option>
|
||||
<option value="PUBLIC">Published</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button (click)="toggleEdit()">Save</button>
|
||||
<p class="has-error" *ngIf="showDateError">Start Date must not be after end date!</p>
|
||||
@@ -69,6 +75,9 @@
|
||||
<td>
|
||||
{{event?.url}}
|
||||
</td>
|
||||
<td>
|
||||
{{getEventStatusFriendlyName()}}
|
||||
</td>
|
||||
<td>
|
||||
<button (click)="toggleEdit()">Edit</button>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user