aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2018-08-03 12:29:20 +0300
committerMantas <11616378+mistermantas@users.noreply.github.com>2018-08-03 12:29:20 +0300
commit36a3e1b66d65c72540a710cbc9028054bd16cad0 (patch)
treea7678cbedaafe12a5a94a796fdf9fa5df6f5ddbb
parenta93b1d2712a886c1adfd5f215aedc2e6d643e969 (diff)
Attempt to fix TypeError bug
-rw-r--r--static/admin/config.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 209177e..b6c05d3 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -30,6 +30,12 @@ collections:
- {label: "Start date & time (your time)", name: "Date", widget: "datetime"}
- {label: "Mark as resolved", name: "Resolved", widget: "boolean", required: false}
- {label: "End date & time (your time)", name: "ResolvedWhen", widget: "datetime", required: false}
+ - label: "Affected systems (use exact name)"
+ name: "Affected"
+ widget: "list"
+ required: false
+ fields:
+ - {label: "System", widget: "string"}
- label: "Severity"
name: "Severity"
widget: "select"
@@ -37,11 +43,7 @@ collections:
- { label: "High (Down)", value: "down" }
- { label: "Medium (Disrupted)", value: "disrupted" }
- { label: "Low (Announcement)", value: "notice" }
- - label: "Affected systems (use exact name)"
- name: "Affected"
- widget: "list"
- allow_add: true
- required: false
- fields:
- - {label: "System", name: "string", widget: "string"}
- - {label: "Sequence of events", name: "body", widget: "markdown", default: "We are investigating a potential issue that might affect the uptime of one our of services."}
+ - label: "Markdown body (sequence of events, description, post-mortem)"
+ name: "body"
+ widget: "markdown"
+ default: "*Investigating* - We are investigating a potential issue that might affect the uptime of one our of services. We are sorry for any inconvenience this may cause you. This incident post will be updated once we have more information."