Sha256: 262af816c533a4fd075393642e71797d770ca81c10b05c474b7601d65605de42

Contents?: true

Size: 458 Bytes

Versions: 85

Compression:

Stored size: 458 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # This cell renders the card for an instance of an Assembly member
    class AssemblyMemberCell < Decidim::ViewModel
      property :designation_date
      property :name
      property :nickname
      property :personal_information
      property :position
      property :profile_url

      private

      def has_profile?
        model.profile_url.present?
      end
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.4 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.27.9 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.29.0 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.3 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.27.8 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.29.0.rc4 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.29.0.rc3 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.29.0.rc2 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.29.0.rc1 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.2 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.27.7 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.1 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.27.6 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.26.10 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.26.9 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.0 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.27.5 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.0.rc5 app/cells/decidim/assemblies/assembly_member_cell.rb
decidim-assemblies-0.28.0.rc4 app/cells/decidim/assemblies/assembly_member_cell.rb