48hr.email/infrastructure/web/views/_footer-main.twig
ClaraCrazy b9ab513157
[Chore]: Add API note in footer, make footer cleaner, make API opt-in
If anyone reads this, msg me for a guided pentest, just a quick thing. Need to know for sure :)
2026-01-06 14:07:58 +01:00

16 lines
676 B
Twig

{#
_footer-main.twig
Usage: {% include '_footer-main.twig' %}
Expects: branding, purgeTime, mailCount, config
#}
<h4>
{{ branding[0] }} offered by <a href="{{ branding[2] }}" style="text-decoration:underline" target="_blank">{{ branding[1] }}</a> | All Emails will be deleted after {{ purgeTime | raw }}
{% if config.http.features.statistics %}
| <a href="/stats" style="text-decoration:underline">Statistics</a>
{% else %}
| Currently handling {{ mailCount | raw }}
{% endif %}
{% if config.apiEnabled %}
| <a href="https://github.com/Crazyco-xyz/48hr.email/wiki" style="text-decoration:underline" target="_blank">API Docs</a>
{% endif %}
</h4>