Fix feed display
This commit is contained in:
@ -1,7 +1,15 @@
|
||||
{% load fr_display %}
|
||||
<div class="interaction">
|
||||
{% if activity.favorites.all %}
|
||||
<span>
|
||||
{{ activity.favorites.count }} like(s)
|
||||
{{ activity.favorites.count }} like{{activity.favorites.count|pluralize }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if activity|reply_count %}
|
||||
<span>
|
||||
<a href="{{ activity.absolute_id }}">
|
||||
{{ activity|reply_count }} repl{{ activity|reply_count|pluralize:'y,ies' }}
|
||||
</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
<form name="favorite" action="/favorite/{{ activity.id }}" method="post">
|
||||
|
@ -15,6 +15,7 @@
|
||||
<small>{{ status.rating | stars }} stars, by {% include 'snippets/username.html' with user=status.user %}</small>
|
||||
</h4>{% endif %}
|
||||
<blockquote>{{ status.content }}</blockquote>
|
||||
{% if not max_depth and status.reply_parent or status|replies %}<p><a href="{{ status.absolute_id }}">Thread</a>{% endif %}
|
||||
{% include 'snippets/interaction.html' with activity=status %}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user