Sha256: 01429a954caa3f9afd39e2374f9d0546c7fccb6d57674d507706ecb8f78dfa54
Contents?: true
Size: 465 Bytes
Versions: 37
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Decidim module Blogs # This cell renders the Medium (:m) post card # for an given instance of a Post class PostMCell < Decidim::CardMCell private def has_actions? false end def endorsements_count with_tooltip t("decidim.endorsable.endorsements") do "#{icon("bullhorn", class: "icon--small")} #{model.endorsements_count}" end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems