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
|
@ -15,10 +15,13 @@ import attr from 'ember-data/attr';
|
|||
|
||||
export default Model.extend({
|
||||
documentName: attr('string'),
|
||||
documentId: attr('string'),
|
||||
folderId: attr('string'),
|
||||
contributed: attr('string'),
|
||||
viewed: attr('string'),
|
||||
created: attr('string'),
|
||||
approved: attr('string'),
|
||||
rejected: attr('string'),
|
||||
|
||||
hasContributed: computed('contributed', function () {
|
||||
return this.get('contributed').length > 0;
|
||||
|
@ -28,5 +31,11 @@ export default Model.extend({
|
|||
}),
|
||||
hasCreated: computed('created', function () {
|
||||
return this.get('created').length > 0;
|
||||
})
|
||||
}),
|
||||
hasApproved: computed('approved', function () {
|
||||
return this.get('approved').length > 0;
|
||||
}),
|
||||
hasRejected: computed('rejected', function () {
|
||||
return this.get('rejected').length > 0;
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue