manage link for hosted version

This commit is contained in:
vabene1111
2021-06-07 16:09:26 +02:00
parent 348c1c78f1
commit bf467b1ec0
3 changed files with 7 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ def context_settings(request):
'EMAIL_ENABLED': settings.EMAIL_HOST != '',
'SIGNUP_ENABLED': settings.ENABLE_SIGNUP,
'CAPTCHA_ENABLED': settings.HCAPTCHA_SITEKEY != '',
'HOSTED': settings.HOSTED,
'TERMS_URL': settings.TERMS_URL,
'PRIVACY_URL': settings.PRIVACY_URL,
'IMPRINT_URL': settings.IMPRINT_URL,

View File

@@ -14,7 +14,9 @@
{% block content %}
<h3>{{ request.space.name }}</h3>
<h3>{{ request.space.name }} <small>{% if HOSTED %}
<a href="https://tandoor.dev/manage">{% trans 'Manage Subscription' %}</a>{% endif %}</small></h3>
<br/>
<div class="row">
@@ -120,7 +122,7 @@
<div class="row">
<div class="col col-md-12">
<h4>{% trans 'Invite Links' %}</h4>
{% render_table invite_links %}
{% render_table invite_links %}
</div>
</div>