1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

Display category names in documents list (space view)

We pre-fetch category names and attach them to documents.
This commit is contained in:
Harvey Kandola 2019-01-08 12:43:25 +00:00
parent 1d4a20cdfe
commit 5467771542
8 changed files with 804 additions and 722 deletions

View file

@ -0,0 +1,8 @@
{{#if categories}}
{{#each categories as |cat|}}
<div class="category">
<i class="dicon {{constants.Icon.Category}}" />
<div class="name">{{cat}}</div>
</div>
{{/each}}
{{/if}}