Sha256: 2559e4139b0033ea4da2590cb29f5ccc2ac93909c06e4b65a52fa25e6b94a904
Contents?: true
Size: 470 Bytes
Versions: 9
Compression:
Stored size: 470 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.to_s end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems