new imprint stuff
This commit is contained in:
parent
aa011154ff
commit
00b40cd87c
4 changed files with 8 additions and 11 deletions
|
@ -157,7 +157,7 @@ SVG_RENDERER = config.get('c3nav', 'svg_renderer', fallback='rsvg-convert')
|
|||
CACHE_TILES = config.getboolean('c3nav', 'cache_tiles', fallback=not DEBUG)
|
||||
CACHE_RESOLUTION = config.getint('c3nav', 'cache_resolution', fallback=4)
|
||||
|
||||
IMPRINT_ADDRESS = config.get('c3nav', 'imprint_address', fallback=None)
|
||||
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)
|
||||
|
|
|
@ -21,15 +21,8 @@
|
|||
{% endif %}
|
||||
<p>Version: {{ version }}</p>
|
||||
|
||||
{% if address %}
|
||||
<h4>{% trans 'Responsible for this website:' %}</h4>
|
||||
<p>{{ address }}</p>
|
||||
{% if imprint %}
|
||||
<p><a href="{{ imprint }}">{% trans "Imprint" %}</a></p>
|
||||
{% endif %}
|
||||
|
||||
<h4>{% trans 'Data privacy' %}</h4>
|
||||
|
||||
<p>{% trans 'We do not collect any personal data.' %}</p>
|
||||
<p>{% trans 'Any data that your device sends to c3nav that might be used to track you will either be discarded after processing it or saved in a way that does not allow us to connect it to you.' %}</p>
|
||||
<p>{% trans 'If you register an account, we do not ask for personal data either.' %}</p>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
<a href="https://chaos.social/@c3nav/" rel="external" target="_blank">Fediverse</a> //
|
||||
<a href="https://github.com/c3nav/c3nav/" rel="external" target="_blank">GitHub</a> //
|
||||
<a href="{% url 'site.about' %}" id="about-link">{% trans 'about c3nav' %}</a>
|
||||
{% if imprint %}
|
||||
// <a href="{{ imprint }}" target="_blank">{% trans 'Imprint' %}</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endif %}
|
||||
<section id="map" data-bounds="{{ bounds }}"
|
||||
|
|
|
@ -143,6 +143,7 @@ def map_index(request, mode=None, slug=None, slug2=None, details=None, options=N
|
|||
),
|
||||
'editor': can_access_editor(request),
|
||||
'embed': bool(embed),
|
||||
'imprint': settings.IMPRINT_LINK,
|
||||
}
|
||||
|
||||
if grid.enabled:
|
||||
|
@ -386,7 +387,7 @@ def choose_language(request):
|
|||
def about_view(request):
|
||||
return render(request, 'site/about.html', {
|
||||
'ajax': request.headers.get('x-requested-with') == 'XMLHttpRequest' or 'ajax' in request.GET,
|
||||
'address': settings.IMPRINT_ADDRESS,
|
||||
'imprint': settings.IMPRINT_LINK,
|
||||
'patrons': settings.IMPRINT_PATRONS,
|
||||
'team': settings.IMPRINT_TEAM,
|
||||
'hosting': settings.IMPRINT_HOSTING,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue