From 39cd25f0ccc0379027d7ebe499241cf8123f915c Mon Sep 17 00:00:00 2001 From: trisua Date: Thu, 10 Apr 2025 21:42:38 -0400 Subject: [PATCH] add(ui): show town square community --- crates/app/src/public/html/components.html | 5 ++--- crates/app/src/public/html/mod/audit_log.html | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/app/src/public/html/components.html b/crates/app/src/public/html/components.html index 4c70d79..8e081a8 100644 --- a/crates/app/src/public/html/components.html +++ b/crates/app/src/public/html/components.html @@ -145,7 +145,7 @@ community=false, show_community=true, can_manage_post=false) -%} {%- endmacro %} {% macro post(post, owner, secondary=false, community=false, show_community=true, can_manage_post=false) -%} {% if community and -show_community and post.community != config.town_square %} +show_community %}
- {% if community and show_community and post.community != config.town_square - %} + {% if community and show_community %} {% endif %} {%- endmacro %} {% macro notification(notification) -%}
diff --git a/crates/app/src/public/html/mod/audit_log.html b/crates/app/src/public/html/mod/audit_log.html index 02c9568..2a163c1 100644 --- a/crates/app/src/public/html/mod/audit_log.html +++ b/crates/app/src/public/html/mod/audit_log.html @@ -23,7 +23,9 @@
- {{ item.content|markdown|safe }} + {{ item.content|markdown|safe }}
{% endfor %}