{% extends "adminpanel/base.html" %}
{% block title %}Settings — admin{% endblock %}
{% block heading %}Settings{% endblock %}
{% block content %}
{% if tab == 'pricing' %}
| Package | Price | Delivery | Shown | |
{% for p in packages %}
| {{ p.name }} | {{ p.price }} | {{ p.delivery_time }} |
{% if p.published %}Live{% else %}Hidden{% endif %} |
Edit |
{% empty %}| No packages yet. |
{% endfor %}
{% elif tab == 'services' %}
| Service | Starting price | Delivery | Shown | |
{% for s in services %}
| {{ s.title }} | {{ s.starting_price }} | {{ s.delivery_time }} |
{% if s.published %}Live{% else %}Hidden{% endif %} |
Edit |
{% empty %}| No services yet. |
{% endfor %}
{% elif tab == 'payment' %}
Payment configuration
Secret keys are read from environment variables and are never written to the database or shown here.
{% elif tab == 'email' %}
Outgoing mail
{% if email.enabled %}On{% else %}Off{% endif %}
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 %}
{% 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
{% else %}
{% endif %}
{% endblock %}
{% block scripts %}
{% endblock %}