Sha256: fab0ba8b8b22a0c489819a6195c68f25dcce61bae7dc4577ed4bab1587228582

Contents?: true

Size: 842 Bytes

Versions: 3

Compression:

Stored size: 842 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 sufia.generic_file_path(t) do %>
              <%= render_thumbnail_tag t, { width: 90 } %>
            <% end %>
          </td>
          <td>
            <%= link_to display_title(t), sufia.generic_file_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 files.
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-6.7.0 app/views/users/_contributions.html.erb
sufia-6.6.1 app/views/users/_contributions.html.erb
sufia-6.6.0 app/views/users/_contributions.html.erb