Sha256: 7af2f738b3d030cafd754e48bdaf7878182476faf5e2bb78c3ea22c57089bc23

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 Bytes

Contents

<div class="tab-pane active" id="contributions">
  <% if presenter.trophies.count > 0 %>
    <table>
      <% presenter.trophies.each do |t| %>
        <tr id="trophyrow_<%= t.id %>">
          <td>
            <%= link_to t do %>
              <%= image_tag t.indexing_service.thumbnail_path, { width: 90 } %>
            <% end %>
          </td>
          <td>
            <%= link_to t.to_s, t %>
            <% if presenter.current_user? %>
              <%= display_trophy_link current_user, t.id, class: 'glyphicon glyphicon-star', data: { removerow: true } do %>
                <i class='trophy-on glyphicon glyphicon-remove'></i>
              <% end %>
            <% end %>
          </td>
        </tr>
      <% end %>
    </table>
  <% else %>
    <%= presenter.name %> has no highlighted works.
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-7.0.0.beta4 app/views/users/_contributions.html.erb