app/cells/decidim/blogs/post_m_cell.rb in decidim-blogs-0.21.0 vs app/cells/decidim/blogs/post_m_cell.rb in decidim-blogs-0.22.0
- old
+ new
@@ -8,8 +8,14 @@
private
def has_actions?
false
end
+
+ def endorsements_count
+ with_tooltip t("decidim.endorsable.endorsements") do
+ icon("bullhorn", class: "icon--small") + " " + model.endorsements_count.to_s
+ end
+ end
end
end
end