|
6 | 6 | {{@session.title}}
|
7 | 7 | <span style={{css float='right'}}>
|
8 | 8 | {{#if @session.microlocation.videoStream}}
|
9 |
| - <a role="button" href="{{href-to 'public.stream.view' (or @event.identifier @session.event.identifier) @session.microlocation.videoStream}}" target="_blank" |
10 |
| - style={{css color=(text-color @session.track.color 'grey' 'lightgrey')}} rel="noopener" {{action this.goToStream}}> |
11 |
| - <i class="video icon"></i> |
12 |
| - </a> |
| 9 | + <button class="ui basic {{text-color @session.track.color 'basic' 'inverted'}} button" style={{css color=(text-color @session.track.color 'grey' 'lightgrey')}} {{action this.goToStream}}> |
| 10 | + <i class="icon video"></i> |
| 11 | + {{t 'Join Video'}} |
| 12 | + </button> |
13 | 13 | {{/if}}
|
14 | 14 | {{#unless @hideSessionLink}}
|
15 | 15 | <a role="button" href="{{href-to 'public.session.view' (or @event.identifier @session.event.identifier) @session.id}}" style={{css color=(text-color @session.track.color 'grey' 'lightgrey')}}><i class="share icon"></i></a>
|
|
90 | 90 | </div>
|
91 | 91 | {{/if}}
|
92 | 92 |
|
93 |
| - {{#if @session.microlocation.videoStream.additionalInformation}} |
| 93 | + {{#if @session.microlocation.videoStream}} |
94 | 94 | <p style="white-space: pre-line;">
|
| 95 | + <a class="mt-2" href="{{href-to 'public.stream.view' (or @event.identifier @session.event.identifier) @session.microlocation.videoStream}}" target="_blank" rel="noopener">{{t 'Join Video Channel'}}</a> |
| 96 | + {{#if @session.microlocation.videoStream.password}} |
| 97 | + <div class="d-flex items-center"> |
| 98 | + <span>{{t 'Password'}}: </span> |
| 99 | + <UiPopup @on="click" @content={{t "Copied to clipboard"}} @position="bottom right" style="white-space: normal;"> |
| 100 | + <CopyButton @clipboardText={{@session.microlocation.videoStream.password}} class="ui basic segments"> |
| 101 | + <div class="ui left labeled button"> |
| 102 | + <div class="ui basic label"> |
| 103 | + {{@session.microlocation.videoStream.password}} |
| 104 | + </div> |
| 105 | + <div class="ui icon button"> |
| 106 | + <i class="copy icon"></i> |
| 107 | + </div> |
| 108 | + </div> |
| 109 | + </CopyButton> |
| 110 | + </UiPopup> |
| 111 | + </div> |
| 112 | + {{/if}} |
95 | 113 | {{@session.microlocation.videoStream.additionalInformation}}
|
96 | 114 | </p>
|
97 | 115 | {{/if}}
|
|
0 commit comments