Sha256: 7dcbe340539bc807a4475b6996b4dc5ae9522199946e45de645bd929df2b761a

Contents?: true

Size: 526 Bytes

Versions: 7

Compression:

Stored size: 526 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, aria_hidden: true) %>
    <%= document_action_label(document_action_config.key, document_action_config) %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geoblacklight-3.3.1 app/views/catalog/_document_action.html.erb
geoblacklight-3.3.0 app/views/catalog/_document_action.html.erb
geoblacklight-3.2.0 app/views/catalog/_document_action.html.erb
geoblacklight-3.1.0 app/views/catalog/_document_action.html.erb
geoblacklight-3.0.1 app/views/catalog/_document_action.html.erb
geoblacklight-3.0.0 app/views/catalog/_document_action.html.erb
geoblacklight-2.4.0 app/views/catalog/_document_action.html.erb