Sha256: 163f54eef8ecee45dc619fd8f67907e7c9d95e5d7ff8ca7eaad1808ddd1d8240

Contents?: true

Size: 864 Bytes

Versions: 11

Compression:

Stored size: 864 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 [main_app, t] do %>
              <%= image_tag t.thumbnail_path, width: 90 %>
            <% end %>
          </td>
          <td>
            <%= link_to t.to_s, [main_app, t] %>
            <% if presenter.current_user? %>
              <%= display_trophy_link current_user, t.id, class: 'glyphicon glyphicon-star', data: { removerow: true } do %>
                <span class='trophy-on glyphicon glyphicon-remove'></span>
              <% end %>
            <% end %>
          </td>
        </tr>
      <% end %>
    </table>
  <% else %>
    <%= presenter.name %> has no highlighted works.
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/users/_contributions.html.erb
hyrax-3.5.0 app/views/hyrax/users/_contributions.html.erb
hyrax-3.4.2 app/views/hyrax/users/_contributions.html.erb
hyrax-3.4.1 app/views/hyrax/users/_contributions.html.erb
hyrax-3.4.0 app/views/hyrax/users/_contributions.html.erb
hyrax-3.3.0 app/views/hyrax/users/_contributions.html.erb
hyrax-3.2.0 app/views/hyrax/users/_contributions.html.erb
hyrax-3.1.0 app/views/hyrax/users/_contributions.html.erb
hyrax-3.0.2 app/views/hyrax/users/_contributions.html.erb
hyrax-3.0.1 app/views/hyrax/users/_contributions.html.erb
hyrax-3.0.0 app/views/hyrax/users/_contributions.html.erb