mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: start Atom feed implementation
This commit is contained in:
8
templates/rss/event_entry.html.twig
Normal file
8
templates/rss/event_entry.html.twig
Normal 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>
|
||||
23
templates/rss/status_entry.html.twig
Normal file
23
templates/rss/status_entry.html.twig
Normal 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>
|
||||
Reference in New Issue
Block a user