summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/_event.html8
-rw-r--r--templates/activities/_identity.html2
-rw-r--r--templates/activities/_mini_post.html2
-rw-r--r--templates/activities/_post.html2
-rw-r--r--templates/activities/follows.html2
-rw-r--r--templates/activities/home.html2
-rw-r--r--templates/activities/post.html2
7 files changed, 10 insertions, 10 deletions
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" %}
<div class="follow-banner">
<a href="{{ event.subject_identity.urls.view }}">
- {{ event.subject_identity.name_or_handle }}
+ {{ event.subject_identity.html_name_or_handle }}
</a> followed you
</div>
{% include "activities/_identity.html" with identity=event.subject_identity created=event.created %}
{% elif event.type == "liked" %}
<div class="like-banner">
<a href="{{ event.subject_identity.urls.view }}">
- {{ event.subject_identity.name_or_handle }}
+ {{ event.subject_identity.html_name_or_handle }}
</a> liked your post
</div>
{% if not event.collapsed %}
@@ -19,7 +19,7 @@
{% elif event.type == "mentioned" %}
<div class="mention-banner">
<a href="{{ event.subject_identity.urls.view }}">
- {{ event.subject_identity.name_or_handle }}
+ {{ event.subject_identity.html_name_or_handle }}
</a> mentioned you
</div>
{% if not event.collapsed %}
@@ -28,7 +28,7 @@
{% elif event.type == "boosted" %}
<div class="boost-banner">
<a href="{{ event.subject_identity.urls.view }}">
- {{ event.subject_identity.name_or_handle }}
+ {{ event.subject_identity.html_name_or_handle }}
</a> boosted your post
</div>
{% 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 %}
<a href="{{ identity.urls.view }}" class="handle">
- {{ identity.name_or_handle }} <small>@{{ identity.handle }}</small>
+ {{ identity.html_name_or_handle }} <small>@{{ identity.handle }}</small>
</a>
</div>
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 @@
</a>
<a href="{{ post.author.urls.view }}" class="handle">
- {{ post.author.name_or_handle }}
+ {{ post.author.html_name_or_handle }}
</a>
<div class="content">
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 %}
<a href="{{ post.author.urls.view }}" class="handle">
- {{ post.author.name_or_handle }} <small>@{{ post.author.handle }}</small>
+ {{ post.author.html_name_or_handle }} <small>@{{ post.author.handle }}</small>
</a>
{% 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 @@
<a class="option" href="{{ identity.urls.view }}">
<img src="{{ identity.local_icon_url.relative }}">
<span class="handle">
- {{ identity.name_or_handle }}
+ {{ identity.html_name_or_handle }}
<small>@{{ identity.handle }}</small>
</span>
{% 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" %}
<div class="boost-banner">
<a href="{{ event.subject_identity.urls.view }}">
- {{ event.subject_identity.name_or_handle }}
+ {{ event.subject_identity.html_name_or_handle }}
</a> boosted
<time>
{{ event.subject_post_interaction.published | timedeltashort }} ago
diff --git a/templates/activities/post.html b/templates/activities/post.html
index fd717ad..6205064 100644
--- a/templates/activities/post.html
+++ b/templates/activities/post.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
-{% block title %}Post by {{ post.author.name_or_handle }}{% endblock %}
+{% block title %}Post by {{ post.author.html_name_or_handle }}{% endblock %}
{% block content %}
{% if parent %}