{% extends "musician/base.html" %} {% load i18n %} {% block content %}

{% trans "Welcome back" %} {{ profile.username }}

{% if profile.last_login %}

{% blocktrans with last_login=profile.last_login|date:"SHORT_DATE_FORMAT" %}Last time you logged in was: {{ last_login }}{% endblocktrans %}

{% else %}

{% trans "It's the first time you log into the system, welcome on board!" %}

{% endif %}
{% for resource, usage in resource_usage.items %}
{{ usage.verbose_name }}
{% include "musician/components/usage_progress_bar.html" with detail=usage %}
{% endfor %}
{% trans "Notifications" %}
{% for message in notifications %}

{{ message }}

{% empty %}

{% trans "There is no notifications at this time." %}

{% endfor %}

{% trans "Your domains and websites" %}

{% trans "Dashboard page description." %}

{% for domain in domains %}
{{ domain.name }}
{% with domain.websites.0 as website %} {% with website.contents.0 as content %} {% endwith %} {% endwith %}
{% comment "@slamora: orchestra doesn't have this information [won't fix] See issue #2" %} {% trans "Expiration date" %}: {{ domain.expiration_date|date:"SHORT_DATE_FORMAT" }} {% endcomment %}

{% trans "Mail" %}

{{ domain.mails|length }} {% trans "mail addresses created" %} {% if domain.addresses_left.alert_level %}
{{ domain.addresses_left.count }} {% trans "mail address left" %} {% endif %}

{% trans "Mail list" %}

{% trans "Software as a Service" %}

{% trans "Nothing installed" %}

{% trans "Disk usage" %}

{% include "musician/components/usage_progress_bar.html" with detail=domain.usage %}
{% endfor %} {% endblock %} {% block extrascript %} {% endblock %}