<% shortName = @getShortTableName( @item.table ) allDetailsItemId = @item.mergeWithAllDetailsItemId(@itemId, @cell, @page) %> <% if allDetailsItemId : %> {BEGIN dtables_link} <% allDetailsItem = @page.items[allDetailsItemId] %> > _link_attrs} class="{$dtables_link_class} details-badge badge <%- shortName %>_badge" aria-label="<%= @message 'SHOW_DETAILS' %> <%= @tableCaption( @tableName( @item.table ) ) %> <%= @mlText( allDetailsItem.meta.getValue('text', allDetailsItem, @th, @page ) ) %>" title="<%= @message 'SHOW_DETAILS' %>" <% if @page.spreadsheetGrid : %> tabIndex="-1" <% end %> > <% if allDetailsItem.getIconType() == 'css': %> <% else if allDetailsItem.getIconType() == 'file': %> <% end %> <%= @mlText( allDetailsItem.meta.getValue('text', allDetailsItem, @th, @page ) ) %> _childnumber_attr}> {$<%- shortName %>_childnumber} {END dtables_link} <% else : %> <% itemText = @mlText( @item.meta.getValue('text', @item, @th, @page ) ) %> {BEGIN <%- shortName %>_dtable_link} > _link_attrs} data-short-details="<%- shortName %>" <% if @item.badge : %>class="{$<%- shortName %>_dlink_class}"<% end %> <% if !itemText : %>title="<%= @tableCaption( @tableName( @item.table ) ) %>"<% end %> <% if @page.spreadsheetGrid : %> tabIndex="-1" <% end %> > <% if @item.getIconType() == 'css': %> <% else if @item.getIconType() == 'file': %> <% end %> <%= itemText %> <% if @item.showCount : %> <% if @item.badge : %> {BEGIN <%- shortName %>_childcount} _childnumber_attr}> {$<%- shortName %>_childnumber} {END <%- shortName %>_childcount} <% else : %> _childnumber_attr} dir="ltr"> {BEGIN <%- shortName %>_childcount}({$<%- shortName %>_childnumber}){END <%- shortName %>_childcount} <% end %> <% end %> {END <%- shortName %>_dtable_link} <% end %>