From 6d473a83cc791daaaf8ecadb06315be8594e2990 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 12 Dec 2022 01:25:48 +0900 Subject: Add the character counter next to the Post button (#152) --- templates/activities/_menu.html | 3 ++- templates/activities/compose.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html index 4676831..b5c4faf 100644 --- a/templates/activities/_menu.html +++ b/templates/activities/_menu.html @@ -60,8 +60,9 @@ {{ form.content_warning }}
+ {{ config.post_length }} CW - +
{% endif %} diff --git a/templates/activities/compose.html b/templates/activities/compose.html index 7065863..9587559 100644 --- a/templates/activities/compose.html +++ b/templates/activities/compose.html @@ -34,7 +34,8 @@ {% endif %}
- + {{ config.post_length }} +
{% endblock %} -- cgit v1.2.3