From d125a6ac552734485102a4af6b5fca516518f9b7 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 3 Apr 2019 22:50:37 +0200 Subject: [PATCH] config_local: Example for announcements to non-subscribers. --- config_local.example.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config_local.example.py b/config_local.example.py index d5be8c8..48ccfb9 100644 --- a/config_local.example.py +++ b/config_local.example.py @@ -30,3 +30,13 @@ URLER_SERVICE_AUTH_TOKEN = '##DEFINE##' ZENCODER_API_KEY = '##DEFINE##' ZENCODER_NOTIFICATIONS_SECRET = '##DEFINE##' ZENCODER_NOTIFICATIONS_URL = 'http://zencoderfetcher/' + +# Special announcement on top of every page, for non-subscribers. +# category: 'string', can be 'info', 'warning', 'danger', or 'success'. +# message: 'string', any text, it gets markdowned. +# icon: 'string', any icon in font-pillar. e.g. 'pi-heart-filled' +UI_ANNOUNCEMENT_NON_SUBSCRIBERS = { + 'category' : 'danger', + 'message' : 'Spring will swing away the gray clouds, until then, [take cover under Blender Cloud](https://cloud.blender.org)!', + 'icon' : 'pi-heart-filled', +}