This commit is expanding on previous work making everything chat working through an URL. Improves drawer templates to be all URLs Implements some kind of router for the drawer Removes few remaining actions for opening channels
27 lines
695 B
Handlebars
27 lines
695 B
Handlebars
<div class="chat-draft">
|
|
{{#if this.site.mobileView}}
|
|
<header class="chat-draft-header">
|
|
<FlatButton
|
|
@class="chat-draft-header__btn btn"
|
|
@icon="chevron-left"
|
|
@title="chat.draft_channel_screen.cancel"
|
|
@action={{action "onCancelChatDraft"}}
|
|
/>
|
|
<h2 class="chat-draft-header__title">
|
|
{{d-icon "comment"}}
|
|
{{i18n "chat.draft_channel_screen.header"}}
|
|
</h2>
|
|
</header>
|
|
{{/if}}
|
|
|
|
<DirectMessageCreator
|
|
@onChangeSelectedUsers={{action "onChangeSelectedUsers"}}
|
|
/>
|
|
|
|
{{#if this.previewedChannel}}
|
|
<ChatLivePane
|
|
@chatChannel={{this.previewedChannel}}
|
|
@includeHeader={{false}}
|
|
/>
|
|
{{/if}}
|
|
</div> |