From 36a3e1b66d65c72540a710cbc9028054bd16cad0 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Fri, 3 Aug 2018 12:29:20 +0300 Subject: Attempt to fix TypeError bug --- static/admin/config.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'static/admin') 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." -- cgit v1.2.3-70-g09d2