aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-04-08 21:46:03 +0300
committerGitHub <noreply@github.com>2019-04-08 21:46:03 +0300
commitd69ebc475fc67c65c52c206b7cc1eb70e1633645 (patch)
tree4808b9ae6e28372ced486b1e827d8300406dcbe0 /static/admin/config.yml
parent9c2eb26b5732e0a9087dd024f7fd0b10fec9ef74 (diff)
parent7f610d23ed696d050ed2d1e405f6bba339a497c4 (diff)
cState v3.1.0 | #54 | here goes nothing
cState v3.1.0
Diffstat (limited to 'static/admin/config.yml')
-rw-r--r--static/admin/config.yml28
1 files changed, 22 insertions, 6 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 014372e..5bee7cb 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -27,14 +27,14 @@ collections:
fields:
- {label: "Mark as incident", name: "section", widget: "hidden", default: "issue"}
- {label: "Title", name: "title", widget: "string"}
- - {label: "Start date & time (your time)", name: "date", widget: "datetime"}
- - {label: "Mark as resolved", name: "resolved", widget: "boolean", required: false, default: false}
- - {label: "End date & time (your time)", name: "resolvedWhen", widget: "datetime", required: false}
- - label: "Affected systems (use exact name, separated by commas)"
+ - {label: "Start date & time (your time) ⌚", name: "date", widget: "datetime"}
+ - {label: "Mark as resolved βœ”", name: "resolved", widget: "boolean", required: false, default: false}
+ - {label: "End date & time (your time) βŒ›", name: "resolvedWhen", widget: "datetime", required: false}
+ - label: "Affected systems (use exact name, separated by commas) 🧐"
name: "affected"
widget: "list"
required: false
- - label: "Severity"
+ - label: "Severity ⚠"
name: "severity"
widget: "select"
options:
@@ -45,6 +45,19 @@ collections:
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."
+ - name: "pages"
+ label: "Pages"
+ label_singular: "Page"
+ description: "πŸ“œ Create and manage pages (not connected or related to issues). Good for things like about pages, SLAs, ways of contact, and so forth."
+ folder: "content/pages"
+ create: true
+ slug: "{{slug}}"
+ fields:
+ - {label: "Title", name: "title", widget: "string"}
+ - {label: "Description for SEO and social media", name: "description", widget: "string", required: false}
+ - label: "Markdown (or HTML) body"
+ name: "body"
+ widget: "markdown"
- name: "settings"
label: "Settings"
description: "⚠ Please be warned that by editing settings from Netlify CMS you are _OVERWRITING_ what you have in the original Git repository, meaning any CURRENT SETTINGS OR COMMENTS left will be deleted."
@@ -75,8 +88,11 @@ collections:
options:
- { label: "πŸ‡ΊπŸ‡Έ English (default)", value: "en" }
- { label: "πŸ‡±πŸ‡Ή Lithuanian (official)", value: "lt" }
+ - { label: "πŸ‡ΉπŸ‡· Turkish", value: "tr" }
+ - { label: "πŸ‡©πŸ‡ͺ Deutsch", value: "de" }
+ - { label: "πŸ‡«πŸ‡· French", value: "fr" }
- label: 'Site language in code for html[lang]'
- hint: 'Use the ISO 639-1 defined abbreviations. Examples: en, lt, de. Fully explained here: https://github.com/mistermantas/cstate/wiki/Customization#changing-site-language'
+ hint: 'Use the ISO 639-1 defined abbreviations. Examples: en, lt, de. Fully explained here: https://github.com/cstate/cstate/wiki/Customization#changing-site-language'
name: 'languageCode'
widget: 'string'
default: 'en'