|
8 | 8 | </div> |
9 | 9 | </div> |
10 | 10 | {{/if}} |
11 | | - <div class="ui secondary segment"> |
12 | | - <h3 class="weight-400">{{t 'When & Where'}}</h3> |
| 11 | + {{#if @redirectStartPgEvent}} |
| 12 | + <div class="ui secondary segment"> |
| 13 | + <h3 class="weight-400" role="button" {{action @redirectStartPgEvent this.data.event.identifier}}> |
| 14 | + {{t 'When & Where'}} |
| 15 | + </h3> |
13 | 16 | </div> |
14 | | - <div class="ui padded segment"> |
| 17 | + <div class="ui padded segment" role="button" {{action @redirectStartPgEvent this.data.event.identifier}}> |
15 | 18 | {{#if this.data.event.online}} |
16 | 19 | {{#if this.data.event.locationName}} |
17 | 20 | <strong>{{t 'Event taking place online and at'}} {{this.data.event.locationName}}</strong> |
|
32 | 35 | <strong>{{t 'Organized By'}}:</strong> {{this.data.event.ownerName}} |
33 | 36 | {{/if}} |
34 | 37 | </div> |
| 38 | + {{else}} |
| 39 | + <div class="ui secondary segment"> |
| 40 | + <h3 class="weight-400"> |
| 41 | + {{t 'When & Where'}} |
| 42 | + </h3> |
| 43 | + </div> |
| 44 | + <div class="ui padded segment" > |
| 45 | + {{#if this.data.event.online}} |
| 46 | + {{#if this.data.event.locationName}} |
| 47 | + <strong>{{t 'Event taking place online and at'}} {{this.data.event.locationName}}</strong> |
| 48 | + {{else}} |
| 49 | + <strong>{{t 'Online Event'}}</strong> |
| 50 | + {{/if}} |
| 51 | + {{else if this.data.event.locationName}} |
| 52 | + <strong>{{t 'At'}} {{this.data.event.locationName}}</strong> |
| 53 | + {{else}} |
| 54 | + <strong>{{t 'Location or online event details to be announced'}}</strong> |
| 55 | + {{/if}} |
| 56 | + <br> |
| 57 | + <strong>{{t 'From'}}:</strong> {{general-date this.data.event.startsAt 'date-time-long'}} {{general-date this.data.event.startsAt 'tz'}} |
| 58 | + <br> |
| 59 | + <strong>{{t 'To'}}:</strong> {{general-date this.data.event.endsAt 'date-time-long'}} {{general-date this.data.event.startsAt 'tz'}} |
| 60 | + {{#if this.data.event.ownerName}} |
| 61 | + <br> |
| 62 | + <strong>{{t 'Organized By'}}:</strong> {{this.data.event.ownerName}} |
| 63 | + {{/if}} |
| 64 | + </div> |
| 65 | + {{/if}} |
35 | 66 | {{#if (or (eq this.data.status 'expired') (eq this.data.status 'completed') (eq this.data.status 'placed'))}} |
36 | 67 | <div class="ui padded segment"> |
37 | 68 | <i class="globe icon"></i> |
|
0 commit comments