FEATURE: Display if a topic is closed or unlisted
This commit is contained in:
parent
207ee6f0f7
commit
1850e3746a
|
@ -27,6 +27,14 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main-link">
|
<td class="main-link">
|
||||||
<span class="link-top-line">
|
<span class="link-top-line">
|
||||||
|
<div class="topic-statuses">
|
||||||
|
{{#if topic.closed}}
|
||||||
|
<span title={{i18n 'topic_statuses.locked.help'}} class="topic-status">{{d-icon 'lock'}}</span>
|
||||||
|
{{/if}}
|
||||||
|
{{#unless topic.visible}}
|
||||||
|
<span title={{i18n 'topic_statuses.unlisted.help'}} class="topic-status">{{d-icon 'far-eye-slash'}}</span>
|
||||||
|
{{/unless}}
|
||||||
|
</div>
|
||||||
{{knowledge-explorer-topic-link
|
{{knowledge-explorer-topic-link
|
||||||
topic=topic
|
topic=topic
|
||||||
selectTopic=selectTopic
|
selectTopic=selectTopic
|
||||||
|
|
Loading…
Reference in New Issue