mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
Remove confusing dick handlers from document meta zone
This commit is contained in:
parent
a710839f69
commit
df2775f8a4
1 changed files with 4 additions and 4 deletions
|
@ -2,25 +2,25 @@
|
|||
<div class="title">STATUS</div>
|
||||
<div class="{{if (eq document.lifecycle constants.Lifecycle.Draft) "label-draft"}}
|
||||
{{if (eq document.lifecycle constants.Lifecycle.Live) "label-live"}}
|
||||
{{if (eq document.lifecycle constants.Lifecycle.Archived) "label-archived"}}" {{action "onEdit"}}>
|
||||
{{if (eq document.lifecycle constants.Lifecycle.Archived) "label-archived"}}">
|
||||
{{document.lifecycleLabel}}
|
||||
{{#attach-tooltip showDelay=1000}}Lifecycle: Draft · Live · Archived{{/attach-tooltip}}
|
||||
</div>
|
||||
|
||||
{{#if (eq document.protection constants.ProtectionType.None)}}
|
||||
<div class="label-open {{if permissions.documentEdit "cursor-pointer"}}" {{action "onEdit"}}>
|
||||
<div class="label-open">
|
||||
OPEN
|
||||
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (eq document.protection constants.ProtectionType.Review)}}
|
||||
<div class="label-protected {{if permissions.documentEdit "cursor-pointer"}}" {{action "onEdit"}}>
|
||||
<div class="label-protected">
|
||||
PROTECTED
|
||||
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (eq document.protection constants.ProtectionType.Lock)}}
|
||||
<div class="label-locked {{if permissions.documentEdit "cursor-pointer"}}" {{action "onEdit"}}>
|
||||
<div class="label-locked">
|
||||
LOCKED
|
||||
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue