diff --git a/app/templates/admin_snippets.html b/app/templates/admin_snippets.html index 780b81b..5b6ac95 100644 --- a/app/templates/admin_snippets.html +++ b/app/templates/admin_snippets.html @@ -9,6 +9,6 @@ {% for anybox_object in threads %}
- {{ utils.display_object(anybox_object) }} + {{ utils.display_object(anybox_object, is_code=True) }} {% endfor %} {% endblock %} diff --git a/app/templates/layout.html b/app/templates/layout.html index f789ae0..2fd2d4b 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -54,7 +54,7 @@ {% if custom_footer %} {{ custom_footer | safe }} {% else %} - Admin. + Runs a modified version of microblog.pub. Admin. {% if is_admin %} {{ header_link("followers", "Followers") }} {{ followers_count }}. {% endif %} diff --git a/app/templates/utils.html b/app/templates/utils.html index f65644f..60e8726 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -154,6 +154,15 @@ {% endblock %} {% endmacro %} +{% macro admin_raw_button(ap_object) %} +{% block admin_raw_button scoped %} + +{% endblock %} +{% endmacro %} + {% macro admin_force_delete_button(ap_object_id, permalink_id=None) %} {% block admin_force_delete_button scoped %}