UI: improves dashboard table reports

- support for avatars
- support for topic/post/user type in reports
- improved totals row UI
- minor css tweaks
This commit is contained in:
Joffrey JAFFEUX
2018-07-31 17:35:13 -04:00
committed by GitHub
parent 6aee22b88f
commit 37252c1a5e
13 changed files with 555 additions and 224 deletions

View File

@ -3,10 +3,10 @@ import computed from "ember-addons/ember-computed-decorators";
export default Ember.Component.extend({
tagName: "th",
classNames: ["admin-report-table-header"],
classNameBindings: ["label.property", "isCurrentSort"],
classNameBindings: ["label.mainProperty", "isCurrentSort"],
attributeBindings: ["label.title:title"],
@computed("currentSortLabel.sort_property", "label.sort_property")
@computed("currentSortLabel.sortProperty", "label.sortProperty")
isCurrentSort(currentSortField, labelSortField) {
return currentSortField === labelSortField;
},