mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Add new chat threads icon and move thread list button to right (#21575)
* DEV: add new thread icon * FIX: Use new thread icon, fix typo in SVG UX: move the thread list icon to the right of the collapse button --------- Co-authored-by: Martin Brennan <martin@discourse.org>
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
class="open-thread-list-btn btn btn-flat"
|
||||
{{on "click" this.stopPropagation}}
|
||||
>
|
||||
{{d-icon "comments"}}
|
||||
{{d-icon "discourse-threads"}}
|
||||
</LinkTo>
|
||||
@@ -31,17 +31,6 @@
|
||||
|
||||
{{#if (or @channel.threadingEnabled this.site.desktopView)}}
|
||||
<div class="chat-full-page-header__right-actions">
|
||||
{{#if @channel.threadingEnabled}}
|
||||
<LinkTo
|
||||
@route="chat.channel.threads"
|
||||
@models={{@channel.routeModels}}
|
||||
title={{i18n "chat.threads.list"}}
|
||||
class="open-thread-list-btn btn btn-flat"
|
||||
>
|
||||
{{d-icon "comments"}}
|
||||
</LinkTo>
|
||||
{{/if}}
|
||||
|
||||
{{#if this.site.desktopView}}
|
||||
<DButton
|
||||
@icon="discourse-compress"
|
||||
@@ -50,6 +39,17 @@
|
||||
@action={{@onCloseFullScreen}}
|
||||
/>
|
||||
{{/if}}
|
||||
|
||||
{{#if @channel.threadingEnabled}}
|
||||
<LinkTo
|
||||
@route="chat.channel.threads"
|
||||
@models={{@channel.routeModels}}
|
||||
title={{i18n "chat.threads.list"}}
|
||||
class="open-thread-list-btn btn btn-flat"
|
||||
>
|
||||
{{d-icon "discourse-threads"}}
|
||||
</LinkTo>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user