add about_extra setting
This commit is contained in:
parent
d6ba4a71d5
commit
e56aa9e77e
3 changed files with 5 additions and 0 deletions
|
@ -182,6 +182,7 @@ IMPRINT_LINK = config.get('c3nav', 'imprint_link', fallback=None)
|
|||
IMPRINT_PATRONS = config.get('c3nav', 'imprint_patrons', fallback=None)
|
||||
IMPRINT_TEAM = config.get('c3nav', 'imprint_team', fallback=None)
|
||||
IMPRINT_HOSTING = config.get('c3nav', 'imprint_hosting', fallback=None)
|
||||
ABOUT_EXTRA = config.get('c3nav', 'about_extra', fallback=None)
|
||||
|
||||
INITIAL_LEVEL = config.get('c3nav', 'initial_level', fallback=None)
|
||||
INITIAL_BOUNDS = config.get('c3nav', 'initial_bounds', fallback='').split(' ')
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
<h2>{% trans 'About c3nav' %}</h2>
|
||||
|
||||
<p>{% blocktrans %}c3nav is open source software, find out more about it on <a href="https://github.com/c3nav" rel="external" target="_blank">GitHub</a>.{% endblocktrans %}</p>
|
||||
{% if about_extra %}
|
||||
<p>{{ about_extra }}</p>
|
||||
{% endif %}
|
||||
<p>{% blocktrans %}Keep yourself up to date on c3nav by following us on <a href="https://chaos.social/@c3nav" rel="external" target="_blank">the fediverse</a>.{% endblocktrans %}</p>
|
||||
{% if team %}
|
||||
<p>{% trans 'The c3nav team at this event:' %} {{ team }}</p>
|
||||
|
|
|
@ -448,6 +448,7 @@ def about_view(request):
|
|||
'patrons': settings.IMPRINT_PATRONS,
|
||||
'team': settings.IMPRINT_TEAM,
|
||||
'hosting': settings.IMPRINT_HOSTING,
|
||||
'about_extra': settings.ABOUT_EXTRA,
|
||||
'version': c3nav_version,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue