seitime-frappe/frappe/templates/emails/security_txt_expiry_alert.html
Sabu Siyad ec9a60172f
feat: security.txt (#38530)
* feat: `security.txt`

* fix(security-settings): public_policy must start be https

* feat(security-settings): preview `security.txt`

* refactor(security-settings): security_txt logic

* feat(security-settings): security_txt expires

* refactor(security-txt): get content from security settings

* fix(security-txt): serve only over https

* fix(security-settings): change labels (plural)

- contacts
- languages

* refactor(security-settings): move to website module

* feat(security-settings): banner/alert on security.txt with link to RFC

* feat(security-txt): expiry alert emails

* fix(security-settings): banner gets duplicated on save

* refactor(security-settings): move to `Core` module

* test(security-settings): add unit tests

* fix(security-settings): translatable strings on throw
2026-04-14 17:22:22 +05:30

20 lines
492 B
HTML

<h3>{{_("Security.txt will expire soon!")}}</h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><strong>{{_("Site")}}</strong></td>
<td>{{ site }}</td>
</tr>
<tr>
<td><strong>{{_("Expires")}}</strong></td>
<td>{{ expires.strftime('%B %-d, %Y %-I:%M %p') }}</td>
</tr>
<tr>
<td><strong>{{_("Days Remaining")}}</strong></td>
<td>{{ days_remaining }}</td>
</tr>
</table>
<p>
<em> {{_("Please update your security settings from desk.")}} </em>
</p>