diff options
Diffstat (limited to 'webmentions_ssg/templates')
| -rw-r--r-- | webmentions_ssg/templates/received.html | 2 | ||||
| -rw-r--r-- | webmentions_ssg/templates/sent_source.html | 12 | ||||
| -rw-r--r-- | webmentions_ssg/templates/status.html | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/webmentions_ssg/templates/received.html b/webmentions_ssg/templates/received.html index f00a5f9..f94d104 100644 --- a/webmentions_ssg/templates/received.html +++ b/webmentions_ssg/templates/received.html @@ -27,7 +27,7 @@ SPDX-License-Identifier: BSD-3-Clause "badge_class": "text-bg-danger", "label": "Declined" }, - "deleted": { + "source_removed": { "row_class": "table-danger", "badge_class": "text-bg-danger", "label": "Declined" diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html index 31d5c81..2b7a377 100644 --- a/webmentions_ssg/templates/sent_source.html +++ b/webmentions_ssg/templates/sent_source.html @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-3-Clause "badge_class": "text-bg-success", "label": "Sent" }, - "unsupported": { + "no_endpoint": { "row_class": "table-warning", "badge_class": "text-bg-warning", "label": "Unsupported" @@ -114,7 +114,7 @@ SPDX-License-Identifier: BSD-3-Clause {% endif %} </td> <td> - {% if webmention.active %} + {% if webmention.linked %} <span class="badge text-bg-success">Active</span> {% else %} <span class="badge text-bg-danger">Removed</span> @@ -139,16 +139,16 @@ SPDX-License-Identifier: BSD-3-Clause </div> </td> <td class="small"> - {% if webmention.endpoint is not none %} + {% if webmention.webmention_endpoint is not none %} <div class="mb-1"> <strong>Endpoint:</strong> - <a href="{{ webmention.endpoint }}" class="text-break">{{ webmention.endpoint }}</a> + <a href="{{ webmention.webmention_endpoint }}" class="text-break">{{ webmention.webmention_endpoint }}</a> </div> {% endif %} - {% if webmention.response_status is not none %} + {% if webmention.endpoint_response_status is not none %} <div class="mb-1"> <strong>HTTP:</strong> - {{ webmention.response_status }} + {{ webmention.endpoint_response_status }} </div> {% endif %} {% if webmention.status_url is not none %} diff --git a/webmentions_ssg/templates/status.html b/webmentions_ssg/templates/status.html index 2db2741..a9a39b4 100644 --- a/webmentions_ssg/templates/status.html +++ b/webmentions_ssg/templates/status.html @@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-3-Clause {% elif webmention.status in ("received", "verifying") %} <div class="text-warning mb-3">{{ render_icon("hourglass-split", size="5rem", title="Verification pending") }}</div> <h1 class="h3">Webmention verification pending</h1> - {% elif webmention.status == "deleted" %} + {% elif webmention.status == "source_removed" %} <div class="text-danger mb-3">{{ render_icon("x-circle-fill", size="5rem", title="Not verified") }}</div> <h1 class="h3">Webmention not verified</h1> {% elif webmention.status == "failed" %} |
