<%_ const keyPrefix = angularAppName + '.'+ entityTranslationKey + '.'; _%>

<%= entityClassPluralHumanized %>

<%_ if (searchEngine == 'elasticsearch') { _%>
<%_ } _%>

jh-sort="vm.predicate" ascending="vm.reverse" callback="vm.<%=pagination != 'infinite-scroll' ? 'transition' : 'reset'%>()"<% } %>> jh-sort-by="id"<% } %>>ID<% if (pagination != 'no') { %> <% } %> <%_ for (idx in fields) { _%> jh-sort-by="<%= fields[idx].fieldName%>"<% } %>><%= fields[idx].fieldNameHumanized %><% if (pagination != 'no') { %> <% } %> <%_ } _%> <%_ for (idx in relationships) { _%> <%_ if (relationships[idx].relationshipType == 'many-to-one' || (relationships[idx].relationshipType == 'one-to-one' && relationships[idx].ownerSide == true) || (relationships[idx].relationshipType == 'many-to-many' && relationships[idx].ownerSide == true && pagination == 'no')) { const fieldName = dto == 'no' ? "." + relationships[idx].otherEntityField : relationships[idx].otherEntityFieldCapitalized;_%> jh-sort-by="<%=relationships[idx].relationshipName + (fieldName)%>"<% } %>><%= relationships[idx].relationshipNameHumanized %><% if (pagination != 'no') { %> <% } %> <%_ } _%> <%_ } _%> infinite-scroll="vm.loadPage(vm.page + 1)" infinite-scroll-disabled="vm.page >= vm.links['last']"<% } %>> <%_ for (idx in fields) { const fieldName = fields[idx].fieldName; const fieldNameCapitalized = fields[idx].fieldNameCapitalized; const fieldType = fields[idx].fieldType; const fieldTypeBlobContent = fields[idx].fieldTypeBlobContent; _%> <%_ if ((fieldType == 'byte[]' || fieldType === 'ByteBuffer') && fieldTypeBlobContent == 'image') { _%> <%_ } else if ((fieldType === 'byte[]' || fieldType === 'ByteBuffer') && fieldTypeBlobContent == 'any') { _%> <%_ } else if (fields[idx].fieldIsEnum) { _%> <%_ } else if (fieldType == 'ZonedDateTime') { _%> <%_ } else if (fieldType == 'LocalDate') { _%> <%_ } else { _%> <%_ } _%> <%_ } _%> <%_ for (idx in relationships) { const relationshipType = relationships[idx].relationshipType; const ownerSide = relationships[idx].ownerSide; const relationshipFieldName = relationships[idx].relationshipFieldName; const relationshipFieldNamePlural = relationships[idx].relationshipFieldNamePlural; const otherEntityName = relationships[idx].otherEntityName; const otherEntityStateName = relationships[idx].otherEntityStateName; const otherEntityField = relationships[idx].otherEntityField; const otherEntityFieldCapitalized = relationships[idx].otherEntityFieldCapitalized; _%> <%_ if (relationshipType == 'many-to-one' || (relationshipType == 'one-to-one' && ownerSide == true) || (relationshipType == 'many-to-many' && ownerSide == true && pagination == 'no')) { _%> <%_ } _%> <%_ } _%>
{{<%=entityInstance %>.id}} <%=entityInstance %> image {{<%= entityInstance %>.<%= fieldName %>ContentType}}, {{vm.byteSize(<%= entityInstance %>.<%= fieldName %>)}} open {{<%= entityInstance %>.<%= fieldName %>ContentType}}, {{vm.byteSize(<%= entityInstance %>.<%= fieldName %>)}} {{<%= entityInstance %>.<%= fieldName %>}}{{<%=entityInstance %>.<%=fieldName%> | date:'medium'}}{{<%=entityInstance %>.<%=fieldName%> | date:'mediumDate'}}{{<%=entityInstance %>.<%=fieldName%>}} <%_ if (otherEntityName == 'user') { _%> <%_ if (relationshipType == 'many-to-many') { _%> {{<%= relationshipFieldName %>.<%= otherEntityField %>}}{{$last ? '' : ', '}} <%_ } else { _%> <%_ if (dto == 'no') { _%> {{<%= entityInstance + "." + relationshipFieldName + "." + otherEntityField %>}} <%_ } else { _%> {{<%= entityInstance + "." + relationshipFieldName + otherEntityFieldCapitalized %>}} <%_ } _%> <%_ } _%> <%_ } else { _%> <%_ if (relationshipType == 'many-to-many') { _%> {{<%= relationshipFieldName %>.<%= otherEntityField %>}}{{$last ? '' : ', '}} <%_ } else { _%> <%_ if (dto == 'no') { _%> })">{{<%= entityInstance + "." + relationshipFieldName + "." + otherEntityField %>}} <%_ } else { _%> })">{{<%= entityInstance + "." + relationshipFieldName + otherEntityFieldCapitalized %>}} <%_ } _%> <%_ } _%> <%_ } _%>
<%_ if (pagination == 'pager') { _%>
<%_ } else if (pagination == 'pagination') { _%>
<%_ } _%>