trentpalmerdotorg/tp/templates/base_heading.html
2021-12-03 00:49:05 -08:00

41 lines
1.3 KiB
HTML

<div class="container">
<div class="row justify-content-center my-2 mx-0">
<h1 class="text-center">
{% url 'accounts:password_reset' as password_reset_url %}
{% url 'accounts:password_reset_done' as password_reset_done_url %}
{% url 'accounts:password_reset_complete' as password_reset_complete_url %}
{% if request.path == login_url %}
Login?
{% elif request.path == edit_profile_url %}
Edit Profile?
{% elif request.path == password_change_url %}
Change Password?
{% elif request.path == enable_totp_url %}
Enable 2fa?
{% elif request.path == disable_totp_url %}
Disable 2fa?
{% elif request.path == new_feed_url %}
New Feed?
{% elif request.path == feeds_url %}
Feeds
{% elif request.path == home_url %}
Home
{% elif request.path == password_reset_url %}
Reset Password?
{% elif request.path == password_reset_done_url %}
Password Reset Sent
{% elif request.path == password_reset_complete_url %}
Password Reset Complete
{% elif request.path == register_url %}
Register?
{% elif request.path == apps_url %}
Applications
{% endif %}
{{ heading }}
</h1>
</div>
</div>