Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
394 changed files
with
7,873 additions
and
5,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
app/assets/javascripts/admin/components/admin-report-counters.js.es6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default Ember.Component.extend({ | ||
classNames: ["admin-report-counters"] | ||
}); |
18 changes: 18 additions & 0 deletions
18
app/assets/javascripts/admin/components/admin-report-table-cell.js.es6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import computed from "ember-addons/ember-computed-decorators"; | ||
|
||
export default Ember.Component.extend({ | ||
tagName: "td", | ||
classNames: ["admin-report-table-cell"], | ||
classNameBindings: ["type", "property"], | ||
options: null, | ||
|
||
@computed("label", "data", "options") | ||
computedLabel(label, data, options) { | ||
return label.compute(data, options || {}); | ||
}, | ||
|
||
type: Ember.computed.alias("label.type"), | ||
property: Ember.computed.alias("label.mainProperty"), | ||
formatedValue: Ember.computed.alias("computedLabel.formatedValue"), | ||
value: Ember.computed.alias("computedLabel.value") | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
app/assets/javascripts/admin/components/admin-report-table-row.js.es6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
import computed from "ember-addons/ember-computed-decorators"; | ||
|
||
export default Ember.Component.extend({ | ||
tagName: "tr", | ||
classNames: ["admin-report-table-row"], | ||
|
||
@computed("data", "labels") | ||
cells(row, labels) { | ||
return labels.map(label => { | ||
return label.compute(row); | ||
}); | ||
} | ||
options: null | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.