From 0f93c6dc1a2f0f74e92d2716ae9c3603f67c6ef3 Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Fri, 13 Sep 2024 13:05:43 +0200 Subject: [PATCH] Add survey-group-introduction view. This returns the 'introduction' field of one of its surveys. This is very similar to the survey-group-image view, so I refactored this to share some code. Refs https://github.com/syslabcom/scrum/issues/2597 --- src/osha/oira/content/browser/configure.zcml | 8 +++ src/osha/oira/content/browser/surveygroup.py | 58 +++++++++++++++----- 2 files changed, 53 insertions(+), 13 deletions(-) diff --git a/src/osha/oira/content/browser/configure.zcml b/src/osha/oira/content/browser/configure.zcml index 74bd76bd..f63c2523 100644 --- a/src/osha/oira/content/browser/configure.zcml +++ b/src/osha/oira/content/browser/configure.zcml @@ -79,6 +79,14 @@ layer="osha.oira.interfaces.IOSHAContentSkinLayer" /> + +