From af3142ac3adb0d1f31d160edcb6d076b293020b1 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Thu, 15 Dec 2022 02:50:54 -0500 Subject: Basic Emoji suppport (#157) --- templates/activities/_event.html | 8 ++++---- templates/activities/_identity.html | 2 +- templates/activities/_mini_post.html | 2 +- templates/activities/_post.html | 2 +- templates/activities/follows.html | 2 +- templates/activities/home.html | 2 +- templates/activities/post.html | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) (limited to 'templates/activities') diff --git a/templates/activities/_event.html b/templates/activities/_event.html index 0c94aad..10d1ce4 100644 --- a/templates/activities/_event.html +++ b/templates/activities/_event.html @@ -3,14 +3,14 @@ {% if event.type == "followed" %}
- {{ event.subject_identity.name_or_handle }} + {{ event.subject_identity.html_name_or_handle }} followed you
{% include "activities/_identity.html" with identity=event.subject_identity created=event.created %} {% elif event.type == "liked" %}
- {{ event.subject_identity.name_or_handle }} + {{ event.subject_identity.html_name_or_handle }} liked your post
{% if not event.collapsed %} @@ -19,7 +19,7 @@ {% elif event.type == "mentioned" %}
- {{ event.subject_identity.name_or_handle }} + {{ event.subject_identity.html_name_or_handle }} mentioned you
{% if not event.collapsed %} @@ -28,7 +28,7 @@ {% elif event.type == "boosted" %}
- {{ event.subject_identity.name_or_handle }} + {{ event.subject_identity.html_name_or_handle }} boosted your post
{% if not event.collapsed %} diff --git a/templates/activities/_identity.html b/templates/activities/_identity.html index feb3178..791f05f 100644 --- a/templates/activities/_identity.html +++ b/templates/activities/_identity.html @@ -12,6 +12,6 @@ {% endif %} - {{ identity.name_or_handle }} @{{ identity.handle }} + {{ identity.html_name_or_handle }} @{{ identity.handle }} diff --git a/templates/activities/_mini_post.html b/templates/activities/_mini_post.html index 9f83333..335a8a4 100644 --- a/templates/activities/_mini_post.html +++ b/templates/activities/_mini_post.html @@ -7,7 +7,7 @@ - {{ post.author.name_or_handle }} + {{ post.author.html_name_or_handle }}
diff --git a/templates/activities/_post.html b/templates/activities/_post.html index 5802acd..5d75b78 100644 --- a/templates/activities/_post.html +++ b/templates/activities/_post.html @@ -59,7 +59,7 @@ {% endif %} - {{ post.author.name_or_handle }} @{{ post.author.handle }} + {{ post.author.html_name_or_handle }} @{{ post.author.handle }} {% if post.summary %} diff --git a/templates/activities/follows.html b/templates/activities/follows.html index 27a13d3..18c7811 100644 --- a/templates/activities/follows.html +++ b/templates/activities/follows.html @@ -8,7 +8,7 @@ - {{ identity.name_or_handle }} + {{ identity.html_name_or_handle }} @{{ identity.handle }} {% if details.outbound %} diff --git a/templates/activities/home.html b/templates/activities/home.html index d574e2a..546da0d 100644 --- a/templates/activities/home.html +++ b/templates/activities/home.html @@ -10,7 +10,7 @@ {% elif event.type == "boost" %}
- {{ event.subject_identity.name_or_handle }} + {{ event.subject_identity.html_name_or_handle }} boosted