mirror of
https://github.com/documize/community.git
synced 2025-07-21 06:09:42 +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="title">STATUS</div>
|
||||||
<div class="{{if (eq document.lifecycle constants.Lifecycle.Draft) "label-draft"}}
|
<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.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}}
|
{{document.lifecycleLabel}}
|
||||||
{{#attach-tooltip showDelay=1000}}Lifecycle: Draft · Live · Archived{{/attach-tooltip}}
|
{{#attach-tooltip showDelay=1000}}Lifecycle: Draft · Live · Archived{{/attach-tooltip}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if (eq document.protection constants.ProtectionType.None)}}
|
{{#if (eq document.protection constants.ProtectionType.None)}}
|
||||||
<div class="label-open {{if permissions.documentEdit "cursor-pointer"}}" {{action "onEdit"}}>
|
<div class="label-open">
|
||||||
OPEN
|
OPEN
|
||||||
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq document.protection constants.ProtectionType.Review)}}
|
{{#if (eq document.protection constants.ProtectionType.Review)}}
|
||||||
<div class="label-protected {{if permissions.documentEdit "cursor-pointer"}}" {{action "onEdit"}}>
|
<div class="label-protected">
|
||||||
PROTECTED
|
PROTECTED
|
||||||
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq document.protection constants.ProtectionType.Lock)}}
|
{{#if (eq document.protection constants.ProtectionType.Lock)}}
|
||||||
<div class="label-locked {{if permissions.documentEdit "cursor-pointer"}}" {{action "onEdit"}}>
|
<div class="label-locked">
|
||||||
LOCKED
|
LOCKED
|
||||||
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
{{#attach-tooltip showDelay=1000}}Change Control: Open · Protected · Locked{{/attach-tooltip}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue