aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2020-08-12 14:56:17 +0300
committerMantas Vilčinskas <hi@mnts.lt>2020-10-27 21:27:08 +0200
commit00f5d17147a4ae7add3c487fb9784e9f1473c3b4 (patch)
tree6b2ced6fab2ec78e0d4b599699bff39c0dc04874
parent54f521f259d75830514502debea8f07d0b981c9d (diff)
Small changes. Laying the groundwork for timeago.js
-rw-r--r--exampleSite/content/issues/2020-06-13-maintenance-window.md (renamed from exampleSite/content/issues/2018-06-13-maintenance-window.md)4
-rw-r--r--i18n/en.yaml12
-rw-r--r--i18n/lt.yaml12
-rw-r--r--static/admin/config.yml10
4 files changed, 36 insertions, 2 deletions
diff --git a/exampleSite/content/issues/2018-06-13-maintenance-window.md b/exampleSite/content/issues/2020-06-13-maintenance-window.md
index dae3afb..404ccc4 100644
--- a/exampleSite/content/issues/2018-06-13-maintenance-window.md
+++ b/exampleSite/content/issues/2020-06-13-maintenance-window.md
@@ -1,8 +1,8 @@
---
title: Maintenance Window
-date: 2018-06-13 15:54:00
+date: 2020-06-13 15:54:00
resolved: true
-resolvedWhen: 2018-06-13 16:54:00
+resolvedWhen: 2020-06-13 16:54:00
# Possible severity levels: down, disrupted, notice
severity: disrupted
affected:
diff --git a/i18n/en.yaml b/i18n/en.yaml
index 47bb7e1..911bf2a 100644
--- a/i18n/en.yaml
+++ b/i18n/en.yaml
@@ -147,3 +147,15 @@
translation: Recently, based on average data, it looks like this system has gone down for about
- id: averageSystemsDowntimeSecondPart
translation: minutes at a time.
+
+
+##
+## v4.4
+##
+
+- id: in
+ translation: in
+- id: weeksAgo
+ translation: "w"
+- id: yearAgo
+ translation: " metus" \ No newline at end of file
diff --git a/i18n/lt.yaml b/i18n/lt.yaml
index 5c1368d..da11d6a 100644
--- a/i18n/lt.yaml
+++ b/i18n/lt.yaml
@@ -147,3 +147,15 @@
translation: Pastaruoju metu, regis, šis komponentas sutrikimų metu neveikia apie
- id: averageSystemsDowntimeSecondPart
translation: min.
+
+
+##
+## v4.4
+##
+
+- id: in
+ translation: in
+- id: weeksAgo
+ translation: " sav." # has to include space
+- id: yearAgo
+ translation: " metus" \ No newline at end of file
diff --git a/static/admin/config.yml b/static/admin/config.yml
index eacf165..f7a7182 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -38,6 +38,9 @@ collections:
- label: Drafts
field: draft
pattern: true
+ - label: Published (not a draft)
+ field: draft
+ pattern: false
- label: "High severity (down)"
field: severity
pattern: 'down'
@@ -77,6 +80,13 @@ collections:
folder: "content/pages"
create: true
slug: "{{slug}}"
+ view_filters:
+ - label: Drafts
+ field: draft
+ pattern: true
+ - label: Published (not a draft)
+ field: draft
+ pattern: false
fields:
- {label: "Title", name: "title", widget: "string"}
- {label: "Hide this from the site (make it a draft) 👀", name: "draft", widget: "boolean", required: false, default: false}