mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing multiple public comments on blurblog rendering issue.
This commit is contained in:
parent
d7f565ea1c
commit
5e71a75d10
3 changed files with 3 additions and 2 deletions
|
@ -1256,7 +1256,6 @@
|
|||
// ==================
|
||||
|
||||
open_social_stories: function(feed_id, options) {
|
||||
debugger;
|
||||
// console.log(["open_social_stories", feed_id, options]);
|
||||
options = options || {};
|
||||
if (_.isNumber(feed_id)) feed_id = "social:" + feed_id;
|
||||
|
|
|
@ -20,7 +20,7 @@ NEWSBLUR.Views.SocialPageComments = Backbone.View.extend({
|
|||
"class": 'NB-story-comments-public-header-wrapper'
|
||||
}, this.make('div', {
|
||||
"class": 'NB-story-comments-public-header'
|
||||
}, Inflector.pluralize(' public comment', $template.length, true)));
|
||||
}, Inflector.pluralize(' public comment', $('.NB-story-comment', $template).length, true)));
|
||||
|
||||
this.$(".NB-story-comments-public-teaser-wrapper").replaceWith($template);
|
||||
$template.before($header);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{% load social_tags %}
|
||||
|
||||
<div class="NB-comments-body">
|
||||
{% for comment in story.comments %}
|
||||
<div class="NB-story-comment">
|
||||
<a href="{{ comment.user.feed_link }}" class="NB-user-avatar {% if comment.source_user_id %}NB-story-comment-reshare{% endif %}">
|
||||
|
@ -38,3 +39,4 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
Loading…
Add table
Reference in a new issue