mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-01 00:18:02 -04:00
FIX: time to first reponse and topics with no reponse admin reports should show down arrow as green, up arrow as red
This commit is contained in:
parent
e01d196bda
commit
bf7875ee86
2 changed files with 12 additions and 1 deletions
app/assets
|
@ -1,3 +1,5 @@
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
tagName: 'tr'
|
tagName: 'tr',
|
||||||
|
reverseColors: Ember.computed.match('report.type', /^(time_to_first_response|topics_with_no_response)$/),
|
||||||
|
classNameBindings: ['reverseColors']
|
||||||
});
|
});
|
||||||
|
|
|
@ -816,6 +816,15 @@ table.api-keys {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.reverse-colors {
|
||||||
|
td.value.trending-down i.down {
|
||||||
|
color: $success;
|
||||||
|
}
|
||||||
|
td.value.trending-up i.up {
|
||||||
|
color: $danger;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.detected-problems {
|
&.detected-problems {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue