~tsileo/microblog.pub-devel

Show name field on "Page" activities v1 PROPOSED

João Costa: 1
 Show name field on "Page" activities

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tsileo/microblog.pub-devel/patches/41894/mbox | git am -3
Learn more about email & git

[PATCH] Show name field on "Page" activities Export this patch

This is particularly useful to interact with Lemmy posts.
---
 app/templates/utils.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/templates/utils.html b/app/templates/utils.html
index 4caca98..cced351 100644
--- a/app/templates/utils.html
+++ b/app/templates/utils.html
@@ -549,7 +549,7 @@
        </a></p>
    {% endif %}

    {% if object.ap_type in ["Article", "Event"] %}
    {% if object.ap_type in ["Article", "Event", "Page"] %}
        <h2 class="p-name no-margin-top">{{ object.name }}</h2>
    {% endif %}

--
2.40.0.windows.1