diff options
Diffstat (limited to 'templates/activities')
-rw-r--r-- | templates/activities/_post.html | 1 | ||||
-rw-r--r-- | templates/activities/_reply.html | 4 | ||||
-rw-r--r-- | templates/activities/compose.html | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/templates/activities/_post.html b/templates/activities/_post.html index 11e4494..dbdc99a 100644 --- a/templates/activities/_post.html +++ b/templates/activities/_post.html @@ -27,6 +27,7 @@ {% if request.identity %} <div class="actions"> + {% include "activities/_reply.html" %} {% include "activities/_like.html" %} {% include "activities/_boost.html" %} </div> diff --git a/templates/activities/_reply.html b/templates/activities/_reply.html new file mode 100644 index 0000000..a6cc81a --- /dev/null +++ b/templates/activities/_reply.html @@ -0,0 +1,4 @@ + +<a title="Reply" href="{{ post.urls.action_reply }}"> + <i class="fa-solid fa-reply"></i> +</a> diff --git a/templates/activities/compose.html b/templates/activities/compose.html index 55b4eb3..9d02988 100644 --- a/templates/activities/compose.html +++ b/templates/activities/compose.html @@ -7,6 +7,10 @@ {% csrf_token %} <fieldset> <legend>Content</legend> + {% if reply_to %} + <p>Replying to <a href="{{ reply_to.urls.view }}">{{ reply_to }}</a></p> + {% endif %} + {{ form.reply_to }} {% include "forms/_field.html" with field=form.text %} {% include "forms/_field.html" with field=form.content_warning %} {% include "forms/_field.html" with field=form.visibility %} |