fix pre-expand-blog check always true

This commit is contained in:
zhaospei 2023-02-07 00:26:04 +07:00
parent 4e7b8daada
commit 262514acee
4 changed files with 25 additions and 17 deletions

View file

@ -8,12 +8,12 @@
</a>
</h3>
{% with author=ticket.user %}
{% if author %}
<div class="problem-feed-info-entry">
<i class="fa fa-pencil-square-o fa-fw"></i>
<span class="pi-value">{{ link_user(author) }}</span>
</div>
{% endif %}
{% if author %}
<div class="problem-feed-info-entry">
<i class="fa fa-pencil-square-o fa-fw"></i>
<span class="pi-value">{{ link_user(author) }}</span>
</div>
{% endif %}
{% endwith %}
<div class="problem-feed-types">
<i class="fa fa-tag"></i>
@ -21,6 +21,6 @@
</div>
<div class='blog-description content-description'>
{{ ticket.messages.last().body|markdown(lazy_load=True)|reference|str|safe }}
<div class="show-more"></div>
<div class="show-more"> {{_("...More")}} </div>
</div>
</div>