app/components/avo/index/fields/id_field_component.html.erb in avo-0.5.0.beta7 vs app/components/avo/index/fields/id_field_component.html.erb in avo-0.5.0.beta8
- old
+ new
@@ -4,7 +4,7 @@
path = helpers.resource_path(@resource.model, via_resource_class: @parent_model.class, via_resource_id: @parent_model.id)
else
path = helpers.resource_path(@resource.model)
end
%>
- <% link_to_if (@field.link_to_resource or Avo.configuration.id_links_to_resource), @field.value, path %>
+ <% link_to_if (@field.link_to_resource or Avo.configuration.id_links_to_resource), @field.value, path, title: t('avo.view_item', { item: @resource.name}).humanize %>
<% end %>