Open evgip opened 5 years ago
I see that the data is taken from different tables. One karma - table links (karma), but sub_karma - table sub_statuses. Accordingly, under the post, the karma is shown differently on the central page of the site and in the sub.
{% if self.status == 'published' && self.sub_karma > 0 %} {{ self.sub_karma|intval }} {% else %} {{ self.karma|intval }} {% endif %}
I see that the data is taken from different tables. One karma - table links (karma), but sub_karma - table sub_statuses. Accordingly, under the post, the karma is shown differently on the central page of the site and in the sub.