Sha256: bd7bc7232d248650bca767e9f105eb22bcaf543f3c6128059990f65fc9d94ee6

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

<%= link_to document_action_path(document_action_config, (local_assigns.has_key?(:url_opts) ? url_opts : {}).merge(({id: document} if document) || {})),
            id: document_action_config.fetch(:id, "#{document_action_config.key}Link"),
            data: {}.merge(({blacklight_modal: "trigger"} if document_action_config.modal != false) || {}) do %>
    <%= geoblacklight_icon(document_action_config.key) %>
    <%= document_action_label(document_action_config.key, document_action_config) %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geoblacklight-2.3.0 app/views/catalog/_document_action.html.erb
geoblacklight-2.2.1 app/views/catalog/_document_action.html.erb
geoblacklight-2.2.0 app/views/catalog/_document_action.html.erb