mirror of
https://github.com/viq/NewsBlur.git
synced 2025-11-01 09:09:16 +00:00
50 lines
2.1 KiB
HTML
50 lines
2.1 KiB
HTML
{% load social_tags %}
|
|
|
|
|
|
{% if story.share_count %}
|
|
<div class="NB-story-shares">
|
|
<div class="NB-story-comments-shares-teaser-wrapper">
|
|
<div class="NB-story-comments-shares-teaser">
|
|
{% if story.comment_count %}
|
|
<div class="NB-story-comments-label">
|
|
<b>{{ story.comment_count }}</b>
|
|
{{ story.comment_count|pluralize:"comment,comments" }}
|
|
{% if story.reply_count %}
|
|
and
|
|
<b>{{ story.reply_count }}</b>
|
|
{{ story.reply_count|pluralize:"reply,replies" }}
|
|
{% endif %}
|
|
</div>
|
|
<div class="NB-story-share-profiles NB-story-share-profiles-comments">
|
|
<div class="NB-story-share-profiles-comments-friends">
|
|
{% for comment in story.friend_comments %}
|
|
{% render_avatars comment.user %}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="NB-story-share-profiles-comments-public">
|
|
{% for comment in story.public_comments %}
|
|
{% render_avatars comment.user %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
<div class="NB-right">
|
|
<div class="NB-story-share-label">
|
|
Shared by
|
|
<b>{{ story.share_count }}</b>
|
|
{{ story.share_count|pluralize:"person,people" }}
|
|
</div>
|
|
<div class="NB-story-share-profiles NB-story-share-profiles-shares">
|
|
<div class="NB-story-share-profiles-shares-friends">
|
|
{% render_avatars story.shared_by_friends %}
|
|
</div>
|
|
<div class="NB-story-share-profiles-shares-public">
|
|
{% render_avatars story.shared_by_public %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|