Sha256: c8ffea54d7783a31e6fbed354439daf56a566506d7259f8be611625124caec91

Contents?: true

Size: 787 Bytes

Versions: 6

Compression:

Stored size: 787 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Design
    module ShareHelper
      def share_sections
        [
          {
            id: "usage",
            title: t("decidim.design.helpers.usage"),
            contents: [
              {
                type: :text,
                values: [t("decidim.design.helpers.share_usage_description_html")]
              },
              {
                type: :cell_table,
                options: { headings: [t("decidim.design.helpers.share_button")] },
                cell_snippet: {
                  cell: "decidim/share_button",
                  args: [],
                  call_string: 'cell("decidim/share_button", nil)'
                }
              }
            ]
          }
        ]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-design-0.29.1 app/helpers/decidim/design/share_helper.rb
decidim-design-0.29.0 app/helpers/decidim/design/share_helper.rb
decidim-design-0.29.0.rc4 app/helpers/decidim/design/share_helper.rb
decidim-design-0.29.0.rc3 app/helpers/decidim/design/share_helper.rb
decidim-design-0.29.0.rc2 app/helpers/decidim/design/share_helper.rb
decidim-design-0.29.0.rc1 app/helpers/decidim/design/share_helper.rb