Class: Hyrax::Renderers::RedirectsLabelAttributeRenderer

Inherits:
AttributeRenderer show all
Defined in:
app/renderers/hyrax/renderers/redirects_label_attribute_renderer.rb

Overview

Renders each redirect path as a clickable link. The link text is the full absolute URL (host + path); the href is the path alone, which the browser resolves against the current document's host. Used on show pages via the redirects schema's render_as: redirects_label view option.

Since:

  • 0.14.0

Instance Attribute Summary

Attributes inherited from AttributeRenderer

#field, #options, #values

Method Summary

Methods inherited from AttributeRenderer

#initialize, #label, #render, #render_dl_row

Methods included from ConfiguredMicrodata

#microdata?, #microdata_object?, #microdata_object_attributes, #microdata_property, #microdata_type, #microdata_value_attributes

Constructor Details

This class inherits a constructor from Hyrax::Renderers::AttributeRenderer