mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:34:18 +08:00
FEATURE: allow plugins to show custom HTML via renderTags (#11520)
This commit allows discourse-assign plugin to show custom HTML via renderTags even if topic has no tags.
This commit is contained in:
parent
843f8c67b2
commit
f296ca4b4a
|
@ -104,7 +104,7 @@
|
||||||
{{category-link result.topic.category.parentCategory}}
|
{{category-link result.topic.category.parentCategory}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{category-link result.topic.category hideParent=true}}
|
{{category-link result.topic.category hideParent=true}}
|
||||||
{{#if result.topic.tags}}
|
{{#if result.topic}}
|
||||||
{{discourse-tags result.topic}}
|
{{discourse-tags result.topic}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{plugin-outlet name="full-page-search-category" args=(hash result=result)}}
|
{{plugin-outlet name="full-page-search-category" args=(hash result=result)}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user