mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Moves the plugin directory and associated files, along with updating various import references.
21 lines
600 B
Plaintext
21 lines
600 B
Plaintext
import { LinkTo } from "@ember/routing";
|
|
import { and } from "discourse/truth-helpers";
|
|
import ChannelTitle from "discourse/plugins/chat/discourse/components/channel-title" with {
|
|
discourseImport: "optional",
|
|
};
|
|
|
|
export default <template>
|
|
{{#if (and @event.channel ChannelTitle)}}
|
|
<section class="event__section event-chat-channel">
|
|
<span></span>
|
|
<LinkTo
|
|
@route="chat.channel"
|
|
@models={{@event.channel.routeModels}}
|
|
class="chat-channel-link"
|
|
>
|
|
<ChannelTitle @channel={{@event.channel}} />
|
|
</LinkTo>
|
|
</section>
|
|
{{/if}}
|
|
</template>
|