Fixes invalid likes/boost
This commit is contained in:
@@ -195,14 +195,14 @@
|
||||
<div style="padding-top:20px;" class="pure-g">
|
||||
{% if likes %}
|
||||
<div class="pure-u-1-2">
|
||||
<h4 style="font-weight:normal"><strong>{{ meta.count_like }}</strong> likes</h4>{% for like in likes %}
|
||||
<h4 style="font-weight:normal"><strong>{{ likes|length }}</strong> likes</h4>{% for like in likes %}
|
||||
{{ display_actor_inline(like) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if shares %}
|
||||
<div class="pure-u-1-2">
|
||||
<h4 style="font-weight:normal"><strong>{{ meta.count_boost }}</strong> boosts</h4>{% for boost in shares %}
|
||||
<h4 style="font-weight:normal"><strong>{{ shares|length }}</strong> boosts</h4>{% for boost in shares %}
|
||||
{{ display_actor_inline(boost) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user