mirror of
https://github.com/Balshgit/different
synced 2025-09-12 01:20:43 +03:00
18 lines
434 B
HTML
18 lines
434 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
Hello {{ user.username|default:'guest' }}!
|
|
|
|
<div>
|
|
{% if user.is_authenticated %}
|
|
<a href="{% url 'accounts:logout' %}">Logout</a>
|
|
<a href="{% url 'accounts:password_change' %}">Change Password</a>
|
|
<a href="{% url 'accounts:portfolio' %}">Go to Profile page</a>
|
|
{% else %}
|
|
<a href="{% url 'accounts:login' %}">Login</a>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% endblock %}
|