Move professional support message into base template footer.
This commit is contained in:
parent
533c65562d
commit
5623bb6888
@ -88,10 +88,6 @@ def default_config(sender, key, **kwargs):
|
|||||||
'presentation': '',
|
'presentation': '',
|
||||||
'frontpage_title': _('Welcome to OpenSlides'),
|
'frontpage_title': _('Welcome to OpenSlides'),
|
||||||
'frontpage_welcometext': _('[Place for your welcome text.]'),
|
'frontpage_welcometext': _('[Place for your welcome text.]'),
|
||||||
'show_help_text': True,
|
|
||||||
'help_text': _("Get professional support for OpenSlides on %s.") %
|
|
||||||
"<a href='http://openslides.org/' target='_blank'> \
|
|
||||||
www.openslides.org</a>",
|
|
||||||
'system_enable_anonymous': False,
|
'system_enable_anonymous': False,
|
||||||
}.get(key)
|
}.get(key)
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<small>
|
<small>
|
||||||
© Copyright 2012 | Powered by <a href="http://openslides.org" target="_blank">OpenSlides</a>
|
© Copyright 2011-2012 | Powered by <a href="http://openslides.org" target="_blank">OpenSlides</a> | Get <a href="http://openslides.org/support" target="_blank">professional support</a> for OpenSlides.
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -377,8 +377,6 @@ class FrontPage(TemplateView):
|
|||||||
continue
|
continue
|
||||||
if tab.permission:
|
if tab.permission:
|
||||||
apps.append(tab)
|
apps.append(tab)
|
||||||
if config['show_help_text']:
|
|
||||||
messages.info(self.request, config['help_text'])
|
|
||||||
context.update({
|
context.update({
|
||||||
'apps': apps,
|
'apps': apps,
|
||||||
'title': config['frontpage_title'],
|
'title': config['frontpage_title'],
|
||||||
|
Loading…
Reference in New Issue
Block a user