mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
UX: expand parent category in full screen search results
This commit is contained in:
parent
5427ca13b7
commit
281e430a89
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,10 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class='search-category'>
|
<div class='search-category'>
|
||||||
{{category-link result.topic.category}}
|
{{#if result.topic.category.parentCategory}}
|
||||||
|
{{category-link result.topic.category.parentCategory}}
|
||||||
|
{{/if}}
|
||||||
|
{{category-link result.topic.category hideParent=true}}
|
||||||
{{#each result.topic.tags as |tag|}}
|
{{#each result.topic.tags as |tag|}}
|
||||||
{{discourse-tag tag}}
|
{{discourse-tag tag}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue