14 lines
928 B
HTML
14 lines
928 B
HTML
{% 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 %}
|