mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
amends
This commit is contained in:
parent
5f2f9d5ae5
commit
e4192caab9
3 changed files with 42 additions and 11 deletions
32
app/app/models/user-activity.js
Normal file
32
app/app/models/user-activity.js
Normal file
|
@ -0,0 +1,32 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
import Model from 'ember-data/model';
|
||||
import attr from 'ember-data/attr';
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Model.extend({
|
||||
documentName: attr('string'),
|
||||
folderId: attr('string'),
|
||||
contributed: attr('string'),
|
||||
viewed: attr('string'),
|
||||
created: attr('string'),
|
||||
|
||||
hasContributed: Ember.computed('contributed', function () {
|
||||
return this.get('contributed').length > 0;
|
||||
}),
|
||||
hasViewed: Ember.computed('viewed', function () {
|
||||
return this.get('viewed').length > 0;
|
||||
}),
|
||||
hasCreated: Ember.computed('created', function () {
|
||||
return this.get('created').length > 0;
|
||||
})
|
||||
});
|
|
@ -32,7 +32,6 @@ $color-toast: #4c4c4c;
|
|||
$color-checkbox: #2667af;
|
||||
$color-card-active: #f7fcff;
|
||||
|
||||
$color-chip: #98A2AB;
|
||||
$color-chip: #dff0f9;
|
||||
$color-chip-border: #daeaf3;
|
||||
$color-chip-text: #1b88e3;
|
||||
|
@ -40,42 +39,36 @@ $color-chip-text: #1b88e3;
|
|||
$color-symbol-box: #dce5e8;
|
||||
$color-symbol-icon: #a4b8be;
|
||||
|
||||
$color-table-border: #e1e1e1;
|
||||
$color-table-header: #f5f5f5;
|
||||
|
||||
.color-white {
|
||||
color: $color-white !important;
|
||||
}
|
||||
|
||||
.color-off-white {
|
||||
color: $color-off-white !important;
|
||||
}
|
||||
|
||||
.color-black {
|
||||
color: $color-black !important;
|
||||
}
|
||||
|
||||
.color-off-black {
|
||||
color: $color-off-black !important;
|
||||
}
|
||||
|
||||
.color-primary {
|
||||
color: $color-primary !important;
|
||||
}
|
||||
|
||||
.color-link {
|
||||
color: $color-link !important;
|
||||
}
|
||||
|
||||
.color-blue {
|
||||
color: $color-blue !important;
|
||||
}
|
||||
|
||||
.color-red {
|
||||
color: $color-red !important;
|
||||
}
|
||||
|
||||
.color-green {
|
||||
color: $color-green !important;
|
||||
}
|
||||
|
||||
.color-gray {
|
||||
color: $color-gray !important;
|
||||
}
|
||||
|
@ -83,7 +76,9 @@ $color-symbol-icon: #a4b8be;
|
|||
.background-color-white {
|
||||
background-color: $color-white !important;
|
||||
}
|
||||
|
||||
.background-color-primary {
|
||||
background-color: $color-primary !important;
|
||||
}
|
||||
.background-color-green {
|
||||
background-color: $color-green !important;
|
||||
}
|
||||
|
|
|
@ -97,6 +97,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
> .right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
> li.danger {
|
||||
color: $color-red;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue