diff --git a/app/static/js/coolfieldset.js b/app/static/js/coolfieldset.js index c3d021fc..7f27dc6d 100644 --- a/app/static/js/coolfieldset.js +++ b/app/static/js/coolfieldset.js @@ -18,6 +18,7 @@ if (!options.animation) { fieldset.dispatchEvent(new Event('update')); } + setCookie(`fieldset_${fieldset.id}_state`, 'collapsed', 365); } function showFieldsetContent(fieldset, options) { @@ -39,6 +40,7 @@ if (!options.animation) { fieldset.dispatchEvent(new Event('update')); } + setCookie(`fieldset_${fieldset.id}_state`, 'expanded', 365); } function doToggle(fieldset, setting) { diff --git a/app/templates/post/add_reply.html b/app/templates/post/add_reply.html index d1f412c6..b81454b5 100644 --- a/app/templates/post/add_reply.html +++ b/app/templates/post/add_reply.html @@ -6,14 +6,14 @@ {% from 'bootstrap/form.html' import render_form %} {% block app_content %} - +
-
Original post +
Original post

{{ post.title }}

{{ post.body_html | safe if post.body_html else '' }}
-
Comment you are replying to +
Comment you are replying to {{ comment.body_html | safe}}
diff --git a/app/templates/post/post_edit.html b/app/templates/post/post_edit.html index 5fb13cba..e3ebaad6 100644 --- a/app/templates/post/post_edit.html +++ b/app/templates/post/post_edit.html @@ -6,7 +6,7 @@ {% from 'bootstrap/form.html' import render_form, render_field %} {% block app_content %} - +
{% block title %}

{{ _('Edit post') }}

{% endblock %} @@ -116,7 +116,7 @@ {{ render_field(form.tags) }} {{ _('Separate each tag with a comma.') }} -
+
{{ _('More options') }} {{ render_field(form.notify_author) }} {{ render_field(form.sticky) }} diff --git a/app/templates/post/post_reply_edit.html b/app/templates/post/post_reply_edit.html index 913bf471..98874f8f 100644 --- a/app/templates/post/post_reply_edit.html +++ b/app/templates/post/post_reply_edit.html @@ -6,15 +6,15 @@ {% from 'bootstrap/form.html' import render_form %} {% block app_content %} - +
-
Original post +
Original post

{{ post.title }}

{{ post.body_html|safe if post.body_html }}
{% if comment %} -
Comment you are replying to +
Comment you are replying to {{ comment.body_html|safe }}
{% endif %}