1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +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}}

View file

@ -14,7 +14,7 @@
{{document.lifecycleLabel}}
</div>
</div>
{{folder/document-categories categories=document.category}}
{{folder/document-tags documentTags=document.tags}}
</div>