|
| 1 | +<div class="content"> |
| 2 | + <div class="header">{{t 'Sessions and Speakers'}}</div> |
| 3 | +</div> |
| 4 | +<div class="content"> |
| 5 | + <h4 class="ui header">{{t 'Summary'}}</h4> |
| 6 | + <table class="ui very basic compact unstackable table"> |
| 7 | + <tbody> |
| 8 | + <tr> |
| 9 | + <td><strong>{{t 'Session Types'}}</strong> </td> |
| 10 | + <td> |
| 11 | + {{#if this.data.sessionTypes}} |
| 12 | + {{#each this.data.sessionTypes as |sessionType index|~}} |
| 13 | + {{if (not-eq index 0) ','}} {{sessionType.name}} |
| 14 | + {{~/each}} |
| 15 | + {{else}} |
| 16 | + {{t 'No Session Type present. '}} <a href="{{href-to 'events.view.edit.sessions-speakers'}}">{{t 'Click here to add'}}</a> |
| 17 | + {{/if}} |
| 18 | + </td> |
| 19 | + </tr> |
| 20 | + <tr> |
| 21 | + <td><strong>{{t 'Tracks'}}</strong></td> |
| 22 | + <td> |
| 23 | + {{#if this.data.tracks}} |
| 24 | + {{#each this.data.tracks as |tracks index|~}} |
| 25 | + {{if (not-eq index 0) ','}} {{tracks.name}} |
| 26 | + {{~/each}} |
| 27 | + {{else}} |
| 28 | + {{t 'No Track Present. '}} <a href="{{href-to 'events.view.edit.sessions-speakers'}}">{{t 'Click here to add'}}</a> |
| 29 | + {{/if}} |
| 30 | + </td> |
| 31 | + </tr> |
| 32 | + <tr> |
| 33 | + <td><strong>{{t 'Microlocations'}}</strong></td> |
| 34 | + <td> |
| 35 | + {{#if this.data.microlocations}} |
| 36 | + {{#each this.data.microlocations as |microlocations index|~}} |
| 37 | + {{if (not-eq index 0) ','}} {{microlocations.name}} |
| 38 | + {{~/each}} |
| 39 | + {{else}} |
| 40 | + {{t 'No Microlocations Present. '}} <a href="{{href-to 'events.view.edit.sessions-speakers'}}">{{t 'Click here to add'}}</a> |
| 41 | + {{/if}} |
| 42 | + </td> |
| 43 | + </tr> |
| 44 | + <tr> |
| 45 | + <td><strong>{{t 'Call for Speakers'}}</strong> </td> |
| 46 | + <td> |
| 47 | + {{#if this.data.speakersCall}} |
| 48 | + {{t 'Start Time'}}: {{general-date this.data.speakersCall.startsAt 'date-time-tz-long' tz=this.data.event.timezone}} |
| 49 | + <br> |
| 50 | + {{t 'End Time'}}: {{general-date this.data.speakersCall.endsAt 'date-time-tz-long' tz=this.data.event.timezone}} |
| 51 | + {{else}} |
| 52 | + {{t 'Call for Speakers not enabled. '}} <a href="{{href-to 'events.view.edit.sessions-speakers'}}">{{t 'Click here to add'}}</a> |
| 53 | + {{/if}} |
| 54 | + </td> |
| 55 | + </tr> |
| 56 | + <tr> |
| 57 | + <td><strong>{{t 'No. of Speakers'}}</strong></td> |
| 58 | + <td> |
| 59 | + {{#if this.data.event.isSessionsSpeakersEnabled}} |
| 60 | + {{this.data.statistics.speakers}} |
| 61 | + {{else}} |
| 62 | + {{t 'Sessions and Speakers not enabled.'}} |
| 63 | + {{/if}} |
| 64 | + </td> |
| 65 | + </tr> |
| 66 | + <tr> |
| 67 | + <td><strong>{{t 'No. of Sessions'}}</strong></td> |
| 68 | + <td> |
| 69 | + {{#if this.data.event.isSessionsSpeakersEnabled}} |
| 70 | + {{this.data.statistics.sessions}} |
| 71 | + {{else}} |
| 72 | + {{t 'Sessions and Speakers not enabled.'}} |
| 73 | + {{/if}} |
| 74 | + </td> |
| 75 | + </tr> |
| 76 | + </tbody> |
| 77 | + </table> |
| 78 | + <h4 class="ui header">{{t 'Details'}}</h4> |
| 79 | + <table class="ui very basic compact unstackable table"> |
| 80 | + <thead> |
| 81 | + <tr> |
| 82 | + <th>{{t 'Type'}}</th> |
| 83 | + <th>{{t 'States'}}</th> |
| 84 | + </tr> |
| 85 | + </thead> |
| 86 | + <tbody> |
| 87 | + <tr> |
| 88 | + <td><strong>{{t 'Speakers'}}</strong></td> |
| 89 | + <td> |
| 90 | + {{#if this.data.event.isSessionsSpeakersEnabled}} |
| 91 | + {{t 'Accepted'}}: {{this.data.statistics.speakersAccepted}} |
| 92 | + | {{t 'Pending'}}: {{this.data.statistics.speakersPending}} |
| 93 | + | {{t 'Rejected'}}: {{this.data.statistics.speakersRejected}} |
| 94 | + | {{t 'Confirmed'}}: {{this.data.statistics.speakersConfirmed}} |
| 95 | + {{else}} |
| 96 | + {{t 'Sessions and Speakers not enabled.'}} |
| 97 | + {{/if}} |
| 98 | + </td> |
| 99 | + </tr> |
| 100 | + <tr> |
| 101 | + <td><strong>{{t 'Sessions'}}</strong></td> |
| 102 | + <td> |
| 103 | + {{#if this.data.event.isSessionsSpeakersEnabled}} |
| 104 | + {{t 'Submitted'}}: {{this.data.statistics.sessions}} |
| 105 | + | {{t 'Accepted'}}: {{this.data.statistics.sessionsAccepted}} |
| 106 | + | {{t 'Pending'}}: {{this.data.statistics.sessionsPending}} |
| 107 | + | {{t 'Rejected'}}: {{this.data.statistics.sessionsRejected}} |
| 108 | + | {{t 'Confirmed'}}: {{this.data.statistics.sessionsConfirmed}} |
| 109 | + {{else}} |
| 110 | + {{t 'Sessions and Speakers not enabled.'}} |
| 111 | + {{/if}} |
| 112 | + </td> |
| 113 | + </tr> |
| 114 | + </tbody> |
| 115 | + </table> |
| 116 | +</div> |
0 commit comments