feat: start Atom feed implementation

This commit is contained in:
Maël Gangloff
2025-04-27 12:13:06 +02:00
parent c940fba01a
commit c0dcb2f848
8 changed files with 561 additions and 117 deletions

View File

@@ -0,0 +1,8 @@
<p>
A new event has been recorded for this domain:
</p>
<ul>
<li><strong>Action:</strong> {{ event.action }}</li>
<li><strong>Date:</strong> {{ event.date|date('Y-m-d H:i:s') }}</li>
</ul>

View File

@@ -0,0 +1,23 @@
<p>
The EPP status of this domain name has changed:
</p>
{% if domainStatus.addStatus is not empty %}
<p><strong>Added statuses:</strong></p>
<ul>
{% for status in domainStatus.addStatus %}
<li>{{ status }}</li>
{% endfor %}
</ul>
{% endif %}
{% if domainStatus.deleteStatus is not empty %}
<p><strong>Deleted statuses:</strong></p>
<ul>
{% for status in domainStatus.deleteStatus %}
<li>{{ status }}</li>
{% endfor %}
</ul>
{% endif %}
<p><strong>Change date:</strong> {{ domainStatus.date|date('Y-m-d H:i:s') }}</p>