<div class='agile__card {{css_classes}}'>
  <span class='agile__card__summable'>
    {{#<%= settings['summable_column'] %>}}{{ <%= settings['summable_column'] %> }}{{/<%= settings['summable_column'] %>}}
    {{^<%= settings['summable_column'] %>}}—{{/<%= settings['summable_column'] %>}}
  </span>
  <a href='{{show_path}}' target='_blank'><h3 class='agile__card__title'>{{entity_name}}</h3></a>
  <p class='agile__card__subtitle'>{{<%= settings['main_attribute'] %>}}</p>
  <div class='agile__card__info'>
    <div class='agile__card__avatar'>
      {{{avatar}}}
    </div>

    <div class='agile__card__dates'>
      <% output.columns_from_attributes(settings['date_details'].to_a).each do |col| %>
        <span class='agile__card__date'>{{<%= col.name %>}}</span>
      <% end %>
    </div>

    <div class='agile__card__icons'>
      {{#icon_classes}}
        <i class='{{.}} agile__card__icon'></i>
      {{/icon_classes}}
    </div>
  </div>
</div>
