DEV: no need to iterate through each tag for rendering (#11428)
This commit allows discourse-assign plugin to show assigned user next to tags.
This commit is contained in:
parent
1cf057fb1c
commit
a19a3adf9e
|
@ -104,9 +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}}
|
||||||
{{#each result.topic.tags as |tag|}}
|
{{discourse-tags result.topic}}
|
||||||
{{discourse-tag tag isPrivateMessage=isPrivateMessage}}
|
|
||||||
{{/each}}
|
|
||||||
{{plugin-outlet name="full-page-search-category" args=(hash result=result)}}
|
{{plugin-outlet name="full-page-search-category" args=(hash result=result)}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -226,6 +226,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.discourse-tags {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
display: inline-flex;
|
||||||
|
font-weight: normal;
|
||||||
|
|
||||||
|
.discourse-tag.simple {
|
||||||
|
font-size: $font-down-1;
|
||||||
|
margin-right: 0.25em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
@ -277,11 +288,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.discourse-tag.simple {
|
|
||||||
font-size: $font-down-1;
|
|
||||||
margin-right: 0.25em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-results-suggestion {
|
.no-results-suggestion {
|
||||||
|
|
Loading…
Reference in New Issue