mirror of
https://github.com/discourse/discourse-solved.git
synced 2026-09-18 23:31:35 -04:00
21 lines
579 B
Plaintext
21 lines
579 B
Plaintext
import Component from "@glimmer/component";
|
|
import { LinkTo } from "@ember/routing";
|
|
import { service } from "@ember/service";
|
|
import icon from "discourse/helpers/d-icon";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
export default class SolvedList extends Component {
|
|
@service siteSettings;
|
|
|
|
<template>
|
|
{{#if this.siteSettings.solved_enabled}}
|
|
<li class="user-activity-bottom-outlet solved-list">
|
|
<LinkTo @route="userActivity.solved">
|
|
{{icon "square-check"}}
|
|
{{i18n "solved.title"}}
|
|
</LinkTo>
|
|
</li>
|
|
{{/if}}
|
|
</template>
|
|
}
|