Container for help text

merge-requests/30/head
Bob Mottram 2021-02-26 12:29:42 +00:00
parent f3d035a6da
commit 39ca550503
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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 '<div class="container">\n' + \
markdownToHtml(removeHtml(helpText)) + \
'<\div>\n'
return ''