Sha256: be5c91bff353a273ebc0026acae42eb9cd9d3174006cb1aece7b551305a4d06c

Contents?: true

Size: 962 Bytes

Versions: 12

Compression:

Stored size: 962 Bytes

Contents

<% unless comp.lines_only %>
  <ul id="<%= comp.id %>"
      class="mdc-list
            <%= 'mdc-list--dense' if comp.dense %>
            <%= 'mdc-list--two-line' if comp.lines.select{|line| eq(line.type, :line) && line.subtitle }.any? %>
            <%= 'mdc-list--avatar-list' if comp.lines.select{|line| eq(line.type, :line) && line.avatar }.any? %>
            <%= 'v-list__border' if comp.border %>"
      style="<%= "background-color: #{comp.color};" if comp.color %>"
      data-total-lines="<%= comp.total_lines %>"
      <%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.id} if comp.events&.any? %>>
<% end %>
<% for line in comp.lines %>
  <%= partial "components/list/#{line.type}", :locals => {:list => comp, :line => line} %>
<% end %>
<%= partial "components/render", :locals => {:components => comp.components, :scope => nil} if comp.components.any? %>
<% unless comp.lines_only %>
  </ul>
<% end %>


Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/components/_list.erb
coprl-3.0.0.beta.11 views/mdc/components/_list.erb
coprl-3.0.0.beta.10 views/mdc/components/_list.erb
coprl-3.0.0.beta.9 views/mdc/components/_list.erb
coprl-3.0.0.beta.8 views/mdc/components/_list.erb
coprl-3.0.0.beta.7 views/mdc/components/_list.erb
coprl-3.0.0.beta.6 views/mdc/components/_list.erb
coprl-3.0.0.beta.5 views/mdc/components/_list.erb
coprl-3.0.0.beta.4 views/mdc/components/_list.erb
coprl-3.0.0.beta.3 views/mdc/components/_list.erb
coprl-3.0.0.beta.2 views/mdc/components/_list.erb
coprl-3.0.0.beta.1 views/mdc/components/_list.erb