From 39ca550503916de460cdc36218dd8223dd3cd111 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Feb 2021 12:29:42 +0000 Subject: [PATCH] Container for help text --- defaultwelcome/help_inbox_en.md | 2 +- webapp_timeline.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/defaultwelcome/help_inbox_en.md b/defaultwelcome/help_inbox_en.md index d864646f8..d7ca2e813 100644 --- a/defaultwelcome/help_inbox_en.md +++ b/defaultwelcome/help_inbox_en.md @@ -15,6 +15,6 @@ Here you can add **useful links**. This only appears on desktop displays or devi If you are on mobile then user the **links icon** at the top to read news. ### 🡲 Right column 🡲 -**RSS feeds** can be added in the right column, known as the *newswire*. This only appears on desktop displays or devices with larger screens. You can only add or edit feeds if you have an **administrator** or **editor** role, and incoming feed items can also be moderated. +RSS feeds can be added in the right column, known as the *newswire*. This only appears on desktop displays or devices with larger screens. You can only add or edit feeds if you have an **administrator** or **editor** role, and incoming feed items can also be moderated. If you are on mobile then user the **newswire icon** at the top to read news. diff --git a/webapp_timeline.py b/webapp_timeline.py index ccf5a7a85..b6b9bacd8 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -73,7 +73,9 @@ def _getHelpForTimeline(baseDir: str, boxName: str) -> str: with open(helpFilename, 'r') as helpFile: helpText = helpFile.read() helpText = helpText.replace('INSTANCE', instanceTitle) - return markdownToHtml(removeHtml(helpText)) + return '
\n' + \ + markdownToHtml(removeHtml(helpText)) + \ + '<\div>\n' return ''