Fixed non .js errors hound

This commit is contained in:
Zanz2 2018-08-21 12:08:14 +02:00
parent 36cca3d6aa
commit 601335a807

View file

@ -199,14 +199,14 @@ class ProtocolsDatatable < CustomDatatable
end
def modules_html(record)
"<a href='#' data-action='load-linked-children' class='popover_v2' " +
"<a href='#' data-action='load-linked-children' class='popover_v2' " \
"data-popoverlink='" +
I18n.t('popover_test.link.protocol.num_linked') +
"' data-popovercontent='" +
I18n.t('popover_test.text.protocol.num_linked') +
"' data-url='#{linked_children_protocol_path(record)}'>" +
"#{record.nr_of_linked_children}" +
"</a>"
I18n.t('popover_test.link.protocol.num_linked') +
"' data-popovercontent='" +
I18n.t('popover_test.text.protocol.num_linked') +
"' data-url='#{linked_children_protocol_path(record)}'>" \
"#{record.nr_of_linked_children}" \
"</a>"
end
def timestamp_column_html(record)