add(ui): show town square community
This commit is contained in:
parent
5109ac65f4
commit
39cd25f0cc
2 changed files with 5 additions and 4 deletions
|
@ -145,7 +145,7 @@ community=false, show_community=true, can_manage_post=false) -%}
|
||||||
</div>
|
</div>
|
||||||
{%- endmacro %} {% macro post(post, owner, secondary=false, community=false,
|
{%- endmacro %} {% macro post(post, owner, secondary=false, community=false,
|
||||||
show_community=true, can_manage_post=false) -%} {% if community and
|
show_community=true, can_manage_post=false) -%} {% if community and
|
||||||
show_community and post.community != config.town_square %}
|
show_community %}
|
||||||
<div class="card-nest">
|
<div class="card-nest">
|
||||||
<div class="card small">
|
<div class="card small">
|
||||||
<a
|
<a
|
||||||
|
@ -325,8 +325,7 @@ show_community and post.community != config.town_square %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if community and show_community and post.community != config.town_square
|
{% if community and show_community %}
|
||||||
%}
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %} {%- endmacro %} {% macro notification(notification) -%}
|
{% endif %} {%- endmacro %} {% macro notification(notification) -%}
|
||||||
<div class="w-full card-nest">
|
<div class="w-full card-nest">
|
||||||
|
|
|
@ -23,7 +23,9 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="card secondary">
|
<div class="card secondary">
|
||||||
<span>{{ item.content|markdown|safe }}</span>
|
<span class="no_p_margin"
|
||||||
|
>{{ item.content|markdown|safe }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue