Sha256: 531e97349d9a343d2f224b8f9e97799908b21516db2c4536cc3b02509bc6c7e1

Contents?: true

Size: 396 Bytes

Versions: 13

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class ShareButtonCell < ButtonCell
    private

    def button_classes
      "button button__sm button__text-secondary"
    end

    def text
      t("decidim.shared.share_modal.share")
    end

    def icon_name
      resource_type_icon_key("share")
    end

    def html_options
      { data: { "dialog-open": "socialShare" } }
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.4 app/cells/decidim/share_button_cell.rb
decidim-core-0.29.0 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.3 app/cells/decidim/share_button_cell.rb
decidim-core-0.29.0.rc4 app/cells/decidim/share_button_cell.rb
decidim-core-0.29.0.rc3 app/cells/decidim/share_button_cell.rb
decidim-core-0.29.0.rc2 app/cells/decidim/share_button_cell.rb
decidim-core-0.29.0.rc1 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.2 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.1 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.0 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.0.rc5 app/cells/decidim/share_button_cell.rb
decidim-core-0.28.0.rc4 app/cells/decidim/share_button_cell.rb