FEATURE: Display if a topic is closed or unlisted

This commit is contained in:
Justin DiRose 2020-05-13 10:04:12 -05:00
parent 207ee6f0f7
commit 1850e3746a
No known key found for this signature in database
GPG Key ID: D8FDAB7887969D0F
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@
<tr>
<td class="main-link">
<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
topic=topic
selectTopic=selectTopic