summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/_menu.html3
-rw-r--r--templates/activities/compose.html3
2 files changed, 4 insertions, 2 deletions
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 }}
<input type="hidden" name="visibility" value="{{ config_identity.default_post_visibility }}">
<div class="buttons">
+ <span id="character-counter">{{ config.post_length }}</span>
<span class="button toggle" _="on click toggle .enabled then toggle .hidden on #id_content_warning">CW</span>
- <button>{% if config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
+ <button id="post-button">{% if config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
</div>
</form>
{% 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 %}
</fieldset>
<div class="buttons">
- <button>{% if post %}Save Edits{% elif config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
+ <span id="character-counter">{{ config.post_length }}</span>
+ <button id="post-button">{% if post %}Save Edits{% elif config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
</div>
</form>
{% endblock %}