app/helpers/geoblacklight_helper.rb
def relations_icon(document, icon)
    icon_name = document[Settings.FIELDS.GEOM_TYPE] if Settings.USE_GEOM_FOR_RELATIONS_ICON
    icon_name = icon if icon_name.blank?
    icon_options = {}
    icon_options = { classes: 'svg_tooltip' } if Settings.USE_GEOM_FOR_RELATIONS_ICON
    geoblacklight_icon(icon_name, **icon_options)
  end
## Returns the icon used based off a Settings strategy
Returns the icon used based off a Settings strategy
Returns the icon used based off a Settings strategy
def relations_icon(document, icon)
    icon_name = document[Settings.FIELDS.GEOM_TYPE] if Settings.USE_GEOM_FOR_RELATIONS_ICON
    icon_name = icon if icon_name.blank?
    icon_options = {}
    icon_options = { classes: 'svg_tooltip' } if Settings.USE_GEOM_FOR_RELATIONS_ICON
    geoblacklight_icon(icon_name, **icon_options)
  end
def relations_icon ( document , icon ) icon_name = document [ Settings . FIELDS . GEOM_TYPE ] if Settings . USE_GEOM_FOR_RELATIONS_ICON icon_name = icon if icon_name . blank? icon_options = { } icon_options = { classes : 'svg_tooltip' } if Settings . USE_GEOM_FOR_RELATIONS_ICON geoblacklight_icon ( icon_name , ** icon_options ) end
Returns the icon used based off a Settings strategy
Returns the icon used based off a Settings strategy
document
icon