UX: show if webhook is disabled (#7217)

+ show in staff logs when webhook is created/updated/destroyed
This commit is contained in:
Maja Komel
2019-03-21 16:13:09 +01:00
committed by Régis Hanol
parent bfcbc4d2d6
commit 34730a0b16
9 changed files with 75 additions and 5 deletions

View File

@ -4,8 +4,8 @@ import { bufferedRender } from "discourse-common/lib/buffered-render";
export default Ember.Component.extend(
bufferedRender({
classes: ["text-muted", "text-danger", "text-successful"],
icons: ["circle-o", "times-circle", "circle"],
classes: ["text-muted", "text-danger", "text-successful", "text-muted"],
icons: ["circle-o", "times-circle", "circle", "circle"],
@computed("deliveryStatuses", "model.last_delivery_status")
status(deliveryStatuses, lastDeliveryStatus) {