Sha256: e03e3c106bfae46649264561ae5c959cbfbfc553b0d7db24d2669eb060558ad3

Contents?: true

Size: 877 Bytes

Versions: 2

Compression:

Stored size: 877 Bytes

Contents

<div class="tab-pane active" id="contributions">
  <% if @trophies.count > 0 %>
    <table>
      <% @trophies.each do |t| %>
        <tr id="trophyrow_<%= t.id %>">
          <td>
            <%= link_to curation_concerns_generic_work_path(t) do %>
              <%= image_tag t.indexing_service.thumbnail_path, { width: 90 } %>
            <% end %>
          </td>
          <td>
            <%= link_to t.to_s, curation_concerns_generic_work_path(t) %>
            <% if current_user == @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 %>
    <%= @user.name %> has no highlighted works.
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

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