Move dashboard templates to dashboard app

This commit is contained in:
Jan Dittberner 2023-04-14 19:16:30 +02:00
parent 3452e2a8c2
commit 35aae85c8d
2 changed files with 0 additions and 0 deletions

View file

@ -1,14 +0,0 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {% trans "Welcome" %}{% endblock title %}
{% block page_title %}{% trans "Welcome to our customer self service" %}{% endblock page_title %}
{% block content %}
{% if user.is_authenticated %}
<p>{% url 'customer_dashboard' slug=user.username as dashboard_url %}{% blocktrans with full_name=user.get_full_name %}Hello {{ full_name }},<br />
You can visit your <a href="{{ dashboard_url }}">Dashboard</a> to view and modify your hosting options.
{% endblocktrans %}</p>
{% else %}
<p>{% trans "This is your entry to our customer self service sytem." %}</p>
<p>{% url 'account_login' as login_url %}{% url 'dashboard' as dashboard_url %}{% blocktrans %}If you are already a customer you can <a href="{{ login_url }}?next={{ dashboard_url }}">Sign in</a> to view and modify your hosting options.{% endblocktrans %}</p>
{% endif %}
{% endblock content %}