1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +02:00

sticky form headers, category improvements, dropdown improvements

This commit is contained in:
Harvey Kandola 2017-10-11 16:05:24 -04:00
parent 785d12191e
commit 1e3f8e51f0
18 changed files with 787 additions and 686 deletions

View file

@ -3,7 +3,7 @@
<div class="space-heading {{if permissions.spaceOwner 'cursor-pointer'}}" onclick={{if permissions.spaceOwner (action 'toggleEdit')}}>
<h1 class="space-name">{{folder.name}}</h1>
<div class="space-summary">
This space contains {{documents.length}} {{if (eq rootDocCount.length 1) 'document' 'documents'}}
This space contains {{documents.length}} {{if (eq documents.length 1) 'document' 'documents'}}
{{if (eq categories.length 1) (concat 'and ' categories.length ' category')}}
{{if (gt categories.length 1) (concat 'and ' categories.length ' categories')}}
</div>