Sha256: a7a9ac1dbd0a5c22defcd1155709dd2863d7783ecfce0a243a1e5f1e868cc24b

Contents?: true

Size: 956 Bytes

Versions: 12

Compression:

Stored size: 956 Bytes

Contents

<tr class="mdc-data-table__header-row"
  style="<%= "background-color: #{row.color};" if row.color %>">
  <%= partial "components/table/checkbox", :locals => {:row=> row, :type=> 'header'} if row.checkbox %>
  <% row.columns.each do |col| %>
    <th id="<%= col.id%>"
        class="mdc-data-table__header-cell
               <%= "v-align-#{col.align}" %>
               <%= 'v-actionable' if col.events %>"
        role="columnheader" scope="col"
        <%= partial "components/event", :locals => {comp: col, events: col.events, parent_id: col.event_parent_id} if col.events&.any? %>
        style="<%= "background-color: #{col.color};" if col.color %>">
      <%= expand_text(col.value&.text) %>
      <%= partial "components/render", :locals => {:components => col.components, :scope => nil} if col.components.any? %>
    </th>
    <%= partial "components/tooltip", :locals => {comp: col.tooltip, parent_id: col.id} if col.tooltip %>
  <% end %>
</tr>

Version data entries

12 entries across 12 versions & 1 rubygems

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