Skip to content

Commit 234f61a

Browse files
author
Bob Garner
committed
Fixed random differences in admin home source by sorting entities. Also simplified header so only template name is included to prevent false diffs when switching to local template library.
1 parent ea5487e commit 234f61a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/SourceHeaders.eml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $[function entityHeader(title, entity, __template)]
1212
//
1313
// THIS FILE IS GENERATED. DO NOT EDIT!!
1414
//
15-
// Template: ${__template.uri}
15+
// Template: ${__template.name}
1616
//
1717
$[/function]
1818
$[function enumHeader(title, enum, __template)]
@@ -29,6 +29,6 @@ $[function enumHeader(title, enum, __template)]
2929
//
3030
// THIS FILE IS GENERATED. DO NOT EDIT!!
3131
//
32-
// Template: ${__template.uri}
32+
// Template: ${__template.name}
3333
//
3434
$[/function]

web/thymeleaf-bootstrap/admin/AdminHomePageTemplate.eml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ $[ receive distinct serviceDeclarations ]
243243
}
244244

245245
$[ call findRoleEnum()->(roleEnum: roleEnum, defaultEnumItem: defaultEnumItem) ]
246-
$[ foreach topEntity in (space|domain).entitiesTagged("home") ]
246+
$[ foreach topEntity in (space|domain).entitiesTagged("home")|sort ]
247247
$[ let hasPaging = topEntity.hasTag("paging:size") ]
248248
@GetMapping(value = {"/${topEntity|domain:APIPath|name}"})
249249
public String ${topEntity.name|uncapitalize}Home(Model model$[ if hasPaging ], @Param("page") Long page$[/ if ]) throws ServiceException {

0 commit comments

Comments
 (0)