From 9ef549dbc2a484fdc45cffb84968d6406a010592 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 11 Jan 2018 11:34:19 +0000 Subject: [PATCH] Update the admin_text --- opentech/public/funds/blocks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opentech/public/funds/blocks.py b/opentech/public/funds/blocks.py index 694ddc0a5..52549456b 100644 --- a/opentech/public/funds/blocks.py +++ b/opentech/public/funds/blocks.py @@ -2,11 +2,11 @@ from wagtail.wagtailcore.blocks import StaticBlock from opentech.public.utils.blocks import StoryBlock - class ProjectsBlock(StaticBlock): class Meta: icon = 'grip' label = 'List of Projects funded' + admin_text = f'{label}: Will include the list of projects under this fund.' template = 'public_funds/blocks/related_projects.html' @@ -14,6 +14,7 @@ class ReviewersBlock(StaticBlock): class Meta: icon = 'grip' label = 'List of fund Reviewers' + admin_text = f'{label}: Will include the list of reviewers for this fund.' template = 'public_funds/blocks/related_reviewers.html' -- GitLab