Sha256: 54039f53ab7d88609745a139ca1d72ec049e82343be63243327c06d41e18d6b4

Contents?: true

Size: 1.2 KB

Versions: 8

Compression:

Stored size: 1.2 KB

Contents

<% if line.menu %>
  <div class="mdc-menu-anchor">
<% end %>
<li class="mdc-list-item
          <%= 'mdc-list-item--selected' if line.selected %>
          <%= 'v-menu-click' if line.menu && line.actions.empty?%>"
    id="<%= line.id %>">
  <%= erb :"components/list/checkbox", :locals => {:line => line} %>
  <%= erb :"components/list/icon", :locals => {:line => line} %>
  <%= erb :"components/list/avatar", :locals => {:line => line} %>
  <span class="mdc-list-item__text
               <%= 'v-actionable' if line.events %>
               <%= 'v-menu-click' if line.menu && line.actions.any? %>"
        <%= erb :"components/event", :locals => {events: line.events, parent_id: line.event_parent_id} %>>
    <%= expand_text(line.text&.text) %>

    <% if line.subtitle %>
      <span class="mdc-list-item__secondary-text">
        <%= expand_text(line.subtitle.text) %>
      </span>
    <% end %>

    <% if line.body %>
      <span class="mdc-list-item__secondary-text">
        <%= expand_text(line.body.text) %>
      </span>
    <% end %>
  </span>
  <%= erb :"components/list/actions", :locals => {:line => line} %>
</li>
<% if line.menu %>
  <%= erb :"components/list/menu", :locals => {:comp => line.menu} %>
</div>
<%end%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.7 views/mdc/components/list/line.erb
voom-presenters-0.1.6 views/mdc/components/list/line.erb
voom-presenters-0.1.5 views/mdc/components/list/line.erb
voom-presenters-0.1.4 views/mdc/components/list/line.erb
voom-presenters-0.1.3 views/mdc/components/list/line.erb
voom-presenters-0.1.2 views/mdc/components/list/line.erb
voom-presenters-0.1.1 views/mdc/components/list/line.erb
voom-presenters-0.1.0 views/mdc/components/list/line.erb