Sha256: 1bd4dfc56d3ecc8fb2a5b43e3fd8eeea36fc4c19ab10562017c68cf8376466ab
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
<%# If we can know the parser, we can vary the buttons here %> <% if @importer.importer_runs.blank? %> <%= form.button :submit, value: 'Update Importer', class: 'btn btn-primary' %> | <%= form.button :submit, value: 'Update and Import (importer has not yet been run)', class: 'btn btn-primary' %> <% elsif @importer.parser_klass.include?('Oai') %> <%= form.button :submit, value: 'Update Importer', class: 'btn btn-primary' %> | <%= form.button :submit, value: 'Update and Harvest Updated Items', class: 'btn btn-primary' %> | <%= form.button :submit, value: 'Update and Re-Harvest All Items', class: 'btn btn-primary' %> <% else %> <%= form.button :submit, value: 'Update Importer', class: 'btn btn-primary' %> | <%= form.button :submit, value: 'Update and Re-Import (update metadata only)', class: 'btn btn-primary' %> | <%= form.button :submit, value: 'Update All (update metadata and update files)', class: 'btn btn-primary' %> | <%= form.button :submit, value: 'Update and Re-Import (update metadata and replace files)', class: 'btn btn-primary', data: {confirm: "Are you sure? This will remove all files before adding them from the import."} %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bulkrax-1.0.1 | app/views/bulkrax/importers/_edit_form_buttons.html.erb |
bulkrax-1.0.0 | app/views/bulkrax/importers/_edit_form_buttons.html.erb |