Sha256: d5cae4e0f34f285bf9af308e3a532c034d91c01ee064fc8ea860bcd8a76b8bdf

Contents?: true

Size: 808 Bytes

Versions: 4

Compression:

Stored size: 808 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.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

4 entries across 4 versions & 1 rubygems

Version Path
sufia-7.1.0 app/views/users/_contributions.html.erb
sufia-7.0.0 app/views/users/_contributions.html.erb
sufia-7.0.0.rc2 app/views/users/_contributions.html.erb
sufia-7.0.0.rc1 app/views/users/_contributions.html.erb