{% extends "ocpp/landing_base.html" %} {% load i18n %} {% block title %}{{ page.display_title }}{% endblock %} {% block content %}

{{ page.display_title }}

{% trans "Serial Number" %}
{{ charger.charger_id }}
{% trans "Connector" %}
{{ charger.connector_label }}
{{ state }}
{% if energy_accounts_enabled and not request.user.is_authenticated %}

{% trans "Authenticate to Charge" %}

{% if energy_credits_required %} {% trans "Create or log in to an energy account to authorize charging. Credits are required for authorization." %} {% else %} {% trans "Create or log in to an energy account to authorize charging. Credits are optional right now and usage will be tallied for later billing." %} {% endif %}

{% trans "1. Create account" %} {% trans "2. Authenticate" %} {% trans "3. Start charging" %}
{% csrf_token %}
{% trans "Enter a valid username." %}
{% trans "Enter a valid email address or leave this field blank." %}
{% if account_create_form.password.help_text %}
{{ account_create_form.password.help_text|safe }}
{% endif %}
{% trans "Choose a valid password." %}
{% trans "Log In" %}
{% trans "Secure account setup" %} {% trans "Privacy-safe scan logging" %} {% trans "Support is available when needed" %}
{% endif %} {% if charger.last_status or charger_error_code or charger.last_status_timestamp %}

{% trans "Latest report" %}

{% if charger.last_status %}

{% trans "Reported status" %}: {{ charger.last_status }}

{% endif %} {% if charger_error_code %}

{% trans "Error code" %}: {{ charger_error_code }}

{% endif %} {% if charger.last_status_timestamp %}

{% trans "Last status update" %}: {{ charger.last_status_timestamp|date:"SHORT_DATETIME_FORMAT" }}

{% endif %}
{% endif %} {% if instructions_html %}

{% trans "How to charge" %}

{{ instructions_html|safe }}
{% endif %} {% if rules_html %}

{% trans "Site rules" %}

{{ rules_html|safe }}
{% endif %} {% if page.support_phone or page.support_whatsapp or page.support_email or page.support_url %}

{% trans "Support" %}

{% endif %}
{% endblock %} {% block extra_head %} {% endblock %}