mirror of
https://github.com/bugsink/bugsink.git
synced 2026-05-11 18:01:25 -05:00
Links between signin/login pages
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
from bugsink.app_settings import get_settings
|
||||
from bugsink.app_settings import get_settings, CB_ANYBODY
|
||||
|
||||
|
||||
def useful_settings_processor(request):
|
||||
return {
|
||||
'site_title': get_settings().SITE_TITLE,
|
||||
'registration_enabled': get_settings().USER_REGISTRATION == CB_ANYBODY,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -42,6 +42,11 @@
|
||||
<button class="bg-slate-800 font-medium p-2 md:p-4 text-white uppercase w-full">Login</button>
|
||||
|
||||
</form>
|
||||
|
||||
<div class="mt-4">
|
||||
<a href="{#{% url 'password_reset' TODO %}#}" class="text-slate-800">Forgot password?</a>
|
||||
{% if registration_enabled %}<a href="{% url 'signup' %}" class="float-right text-slate-800">Create an account</a>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -52,6 +52,11 @@
|
||||
<button class="bg-slate-800 font-medium p-2 md:p-4 text-white uppercase w-full">Sign up</button>
|
||||
|
||||
</form>
|
||||
|
||||
<div class="mt-4">
|
||||
<a href="{#{% url 'password_reset' TODO %}#}" class="text-slate-800">Forgot password?</a>
|
||||
<a href="{% url 'login' %}" class="float-right text-slate-800">Log in instead</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user