1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 21:45:28 +02:00

Move space label to main view from sidebar

Solves long-standing debate about removing meta from sidebar, and keeping sidebat for navigation/filtering.
This commit is contained in:
McMatts 2019-03-08 15:45:12 +00:00
parent e6e5f75ee7
commit 0bfde82040
7 changed files with 55 additions and 22 deletions

View file

@ -8,6 +8,8 @@
documents=model.documents
documentsDraft=model.documentsDraft
documentsLive=model.documentsLive
recentAdd=model.recentAdd
recentUpdate=model.recentUpdate
categories=model.categories
categorySummary=model.categorySummary
categoryMembers=model.categoryMembers
@ -20,6 +22,11 @@
{{#layout/master-content}}
<div class="grid-container-6-4">
<div class="grid-cell-1">
{{#if (eq model.folder.labelId "")}}
<div class="space-label">Unclassified</div>
{{else}}
<div class="space-label" style={{{model.label.bgColor}}}>{{model.label.name}}</div>
{{/if}}
{{layout/logo-heading
title=model.folder.name
desc=model.folder.desc