2019-05-31 11:48:16 +01:00
|
|
|
<div class="document-meta non-printable">
|
2022-03-17 16:42:15 -04:00
|
|
|
<div class="title">{{localize 'status'}}</div>
|
2019-05-29 11:09:19 +01:00
|
|
|
<div class="{{if (eq document.lifecycle constants.Lifecycle.Draft) "label-draft"}}
|
|
|
|
{{if (eq document.lifecycle constants.Lifecycle.Live) "label-live"}}
|
2019-06-11 10:38:57 +01:00
|
|
|
{{if (eq document.lifecycle constants.Lifecycle.Archived) "label-archived"}}">
|
2019-05-29 11:09:19 +01:00
|
|
|
{{document.lifecycleLabel}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if (eq document.protection constants.ProtectionType.None)}}
|
2019-06-11 10:38:57 +01:00
|
|
|
<div class="label-open">
|
2022-03-09 13:36:48 -05:00
|
|
|
{{localize 'protection_type_open'}}
|
2019-05-29 11:09:19 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq document.protection constants.ProtectionType.Review)}}
|
2019-06-11 10:38:57 +01:00
|
|
|
<div class="label-protected">
|
2022-03-09 13:36:48 -05:00
|
|
|
{{localize 'protection_type_protected'}}
|
2019-05-29 11:09:19 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq document.protection constants.ProtectionType.Lock)}}
|
2019-06-11 10:38:57 +01:00
|
|
|
<div class="label-locked">
|
2022-03-09 13:36:48 -05:00
|
|
|
{{localize 'protection_type_locked'}}
|
2019-05-29 11:09:19 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2019-05-29 14:58:00 +01:00
|
|
|
{{#if contributionStatus}}
|
|
|
|
<div class="label-workflow-status">
|
|
|
|
{{contributionStatus}}
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
{{#if approvalStatus}}
|
|
|
|
<div class="label-workflow-status">
|
|
|
|
{{approvalStatus}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
2019-05-29 11:09:19 +01:00
|
|
|
{{#if document.template}}
|
2022-03-09 13:36:48 -05:00
|
|
|
<div class="label-template non-printable">
|
|
|
|
{{localize 'template'}}
|
2019-05-29 11:09:19 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<Ui::UiSpacer @size="200" />
|
|
|
|
|
2022-03-09 13:36:48 -05:00
|
|
|
<div class="title">{{localize 'category'}} / {{localize 'tag'}}</div>
|
2018-12-19 18:36:45 +00:00
|
|
|
{{#each selectedCategories as |cat|}}
|
|
|
|
<div class="meta-label">
|
2022-03-09 13:36:48 -05:00
|
|
|
<i class="dicon {{constants.Icon.Category}}" title={{localize 'category'}} />
|
2018-12-19 18:36:45 +00:00
|
|
|
{{cat.category}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
{{#each tagz as |t|}}
|
|
|
|
<div class="meta-label">
|
2022-03-09 13:36:48 -05:00
|
|
|
<i class="dicon {{constants.Icon.Tag}}" title={{localize 'tag'}} />
|
2018-12-19 18:36:45 +00:00
|
|
|
{{t}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2018-12-21 17:39:09 +00:00
|
|
|
{{#if unassigned}}
|
|
|
|
{{#if permissions.spaceManage}}
|
2022-03-09 13:36:48 -05:00
|
|
|
<div class="empty cursor-pointer" {{action "onEditCategory"}}>{{localize 'unassigned'}}</div>
|
2018-12-21 17:39:09 +00:00
|
|
|
{{else}}
|
2022-03-09 13:36:48 -05:00
|
|
|
<div class="empty">{{localize 'unassigned'}}</div>
|
2018-12-21 17:39:09 +00:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2018-12-19 18:36:45 +00:00
|
|
|
</div>
|
2019-05-29 16:57:22 +01:00
|
|
|
|
|
|
|
{{document/sidebar-attachment document=document permissions=permissions}}
|
|
|
|
|
|
|
|
<Ui::UiSpacer @size="200" />
|