diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/activities/_event.html | 8 | ||||
-rw-r--r-- | templates/activities/_identity.html | 2 | ||||
-rw-r--r-- | templates/activities/_mini_post.html | 2 | ||||
-rw-r--r-- | templates/activities/_post.html | 2 | ||||
-rw-r--r-- | templates/activities/follows.html | 2 | ||||
-rw-r--r-- | templates/activities/home.html | 2 | ||||
-rw-r--r-- | templates/activities/post.html | 2 | ||||
-rw-r--r-- | templates/identity/select.html | 2 | ||||
-rw-r--r-- | templates/identity/view.html | 3 |
9 files changed, 13 insertions, 12 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 %} diff --git a/templates/identity/select.html b/templates/identity/select.html index b3fc41d..5f73464 100644 --- a/templates/identity/select.html +++ b/templates/identity/select.html @@ -8,7 +8,7 @@ <a class="option" href="{{ identity.urls.activate }}"> <img src="{{ identity.local_icon_url.relative }}"> <span class="handle"> - {{ identity.name_or_handle }} + {{ identity.html_name_or_handle }} <small>@{{ identity.handle }}</small> </span> </a> diff --git a/templates/identity/view.html b/templates/identity/view.html index 7e2c8d4..145a0ef 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load emoji_tags %} {% block title %}{{ identity }}{% endblock %} @@ -40,7 +41,7 @@ {% endif %} {% endif %} - {{ identity.name_or_handle }} + {{ identity.html_name_or_handle }} <small> @{{ identity.handle }} <a title="Copy handle" |