{% extends "adminpanel/base.html" %} {% block title %}Settings — admin{% endblock %} {% block heading %}Settings{% endblock %} {% block content %}
{% if tab == 'pricing' %}

Public packages

Add package
{% for p in packages %} {% empty %}{% endfor %}
PackagePriceDeliveryShown
{{ p.name }}{{ p.price }}{{ p.delivery_time }} {% if p.published %}Live{% else %}Hidden{% endif %} Edit
No packages yet.
{% elif tab == 'services' %}

Services

Add service
{% for s in services %} {% empty %}{% endfor %}
ServiceStarting priceDeliveryShown
{{ s.title }}{{ s.starting_price }}{{ s.delivery_time }} {% if s.published %}Live{% else %}Hidden{% endif %} Edit
No services yet.
{% elif tab == 'payment' %}

Payment configuration

Secret keys are read from environment variables and are never written to the database or shown here.
{% csrf_token %}
{% elif tab == 'email' %}

Outgoing mail

{% if email.enabled %}On{% else %}Off{% endif %}
{% csrf_token %}

{{ preset_hint }}

Stored in the database so you can set it here. Leave it blank and put EMAIL_HOST_PASSWORD in .env if you would rather it did not touch the database.

Send mail when

Clients can still switch off their own copies in their account settings.

Send a test

{% if email.last_tested_at %}
Last test {{ email.last_tested_at|date:"j M Y · H:i" }} — {{ email.last_test_result }}
{% endif %}
{% csrf_token %}

Save your settings first. Any SMTP error is shown here in full.

{% elif tab == 'account' %}

Security

Account
{{ user.get_full_name|default:user.username }} — {{ user.email }}
Staff access
Enabled
Login alerts
Every sign-in is written to the activity log
Change password Login history
{% else %}

Website

{% csrf_token %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}