Sha256: 1fbcfb284b4f88d33f10581f6683469d861c1e6a8d6f53f0e42f9787ef8e9334

Contents?: true

Size: 917 Bytes

Versions: 5

Compression:

Stored size: 917 Bytes

Contents

<h2 class="sr-only">Actions</h2>
<div class="actions-controls-collections">
  <% if can? :edit, @collection %>
      <span class="label label-default"><%= link_to t("sufia.collection.show.edit.label"), collections.edit_collection_path, title: t("sufia.collection.show.edit.label") %></span> &nbsp;&nbsp;
      <span class="label label-default"><%= link_to t("sufia.collection.show.add_files.label"),  sufia.dashboard_files_path( add_files_to_collection: @collection.id ), title: t("sufia.collection.show.add_files.label") %></span>
      <% if Sufia.config.upload_to_collection %>
          <div class="actions-controls-collections-line2">
            <span class="label label-default"><%= link_to t("sufia.collection.show.upload_files.label"),  sufia.new_generic_file_path( collection: @collection.id ), title: t("sufia.collection.show.upload_files.desc") %></span>
          </div>
      <%end %>
  <%end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sufia-6.7.0 app/views/collections/_show_actions.html.erb
sufia-6.6.1 app/views/collections/_show_actions.html.erb
sufia-6.6.0 app/views/collections/_show_actions.html.erb
sufia-6.5.0 app/views/collections/_show_actions.html.erb
sufia-6.4.0 app/views/collections/_show_actions.html.erb