Sha256: 335c4900e86860ed16db9256ee20e4cab8d939a0dbda20dcf25bf9a69ac35f43

Contents?: true

Size: 834 Bytes

Versions: 8

Compression:

Stored size: 834 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 %>" class='highlighted-works'>
          <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

8 entries across 8 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/users/_contributions.html.erb
sufia-7.4.0 app/views/users/_contributions.html.erb
sufia-7.3.1 app/views/users/_contributions.html.erb
sufia-7.3.0 app/views/users/_contributions.html.erb
sufia-7.3.0.rc3 app/views/users/_contributions.html.erb
sufia-7.3.0.rc2 app/views/users/_contributions.html.erb
sufia-7.3.0.rc1 app/views/users/_contributions.html.erb
sufia-7.2.0 app/views/users/_contributions.html.erb