mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
upgraded Ember and Bootstrap, merged changes
This commit is contained in:
parent
b4fd42da38
commit
5dd7d9c181
114 changed files with 9814 additions and 1361 deletions
|
@ -12,21 +12,42 @@
|
|||
import EmberObject from "@ember/object";
|
||||
|
||||
let constants = EmberObject.extend({
|
||||
ProtectionType: {
|
||||
None: 0,
|
||||
Lock: 1,
|
||||
Review: 2,
|
||||
// Document
|
||||
ProtectionType: { // eslint-disable-line ember/avoid-leaking-state-in-ember-objects
|
||||
None: 0,
|
||||
Lock: 1,
|
||||
Review: 2,
|
||||
|
||||
NoneLabel: 'Changes permitted without approval',
|
||||
LockLabel: 'Locked, changes not permitted',
|
||||
ReviewLabel: 'Changes require approval before publication',
|
||||
NoneLabel: 'Changes permitted without approval',
|
||||
LockLabel: 'Locked, changes not permitted',
|
||||
ReviewLabel: 'Changes require approval before publication'
|
||||
},
|
||||
|
||||
ApprovalType: {
|
||||
None: 0,
|
||||
Anybody: 1,
|
||||
Majority: 2,
|
||||
Unanimous: 3
|
||||
// Document
|
||||
ApprovalType: { // eslint-disable-line ember/avoid-leaking-state-in-ember-objects
|
||||
None: 0,
|
||||
Anybody: 1,
|
||||
Majority: 2,
|
||||
Unanimous: 3,
|
||||
|
||||
AnybodyLabel: 'Approval required from any approver',
|
||||
MajorityLabel: 'Majority approval required from approvers',
|
||||
UnanimousLabel: 'Unanimous approval required from all approvers'
|
||||
},
|
||||
|
||||
// Section
|
||||
ChangeState: { // eslint-disable-line ember/avoid-leaking-state-in-ember-objects
|
||||
Published: 0,
|
||||
Pending: 1,
|
||||
UnderReview: 2,
|
||||
Rejected: 3,
|
||||
PendingNew: 4,
|
||||
},
|
||||
|
||||
// Section
|
||||
PageType: { // eslint-disable-line ember/avoid-leaking-state-in-ember-objects
|
||||
Tab: 'tab',
|
||||
Section: 'section'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue