mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
51 lines
2.2 KiB
HTML
51 lines
2.2 KiB
HTML
{% load social_tags %}
|
|
|
|
|
|
<div class="NB-story-comments">
|
|
{% if story.share_count %}
|
|
<div class="NB-story-comments-shares-teaser-wrapper">
|
|
<div class="NB-story-comments-shares-teaser">
|
|
{% if story.share_count %}
|
|
<div class="NB-right">
|
|
Shared by
|
|
<b>{{ story.share_count }}</b>
|
|
{{ story.share_count|pluralize:"person, people" }}
|
|
</div>
|
|
{% if story.share_count_public %}
|
|
<div class="NB-story-share-profiles NB-story-share-profiles-public">
|
|
{% for share_user in story.shared_by_public %}
|
|
<a href="{{ share_user.feed_link }}" class="NB-user-avatar" title="{{ share_user.username }}">
|
|
<img src="{{ share_user.photo_url }}">
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if story.share_count %}
|
|
{% if story.share_count_friends %}
|
|
<div class="NB-story-share-label">Shared by: </div>
|
|
<div class="NB-story-share-profiles NB-story-share-profiles-friends">
|
|
{% for share_user in story.shared_by_friends %}
|
|
<a href="{{ share_user.feed_link }}" class="NB-user-avatar" title="{{ share_user.username }}">
|
|
<img src="{{ share_user.photo_url }}">
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{% render_story_comments story %}
|
|
|
|
{% if story.comment_count_public %}
|
|
<div class="NB-story-comments-public-teaser-wrapper">
|
|
<div class="NB-story-comments-public-teaser">
|
|
There {{ story.comment_count_public|pluralize:"is,are" }} {{ story.comment_count_public}} public comment{{ story.comment_count_public|pluralize }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
</div>
|
|
|