diff --git a/apps/frontend/src/app/components/map-list/map-list-item.component.html b/apps/frontend/src/app/components/map-list/map-list-item.component.html index 504369207..3f2ce9c0c 100644 --- a/apps/frontend/src/app/components/map-list/map-list-item.component.html +++ b/apps/frontend/src/app/components/map-list/map-list-item.component.html @@ -78,45 +78,49 @@ {{ name }}
-- By - @if (authors[0].id) { - {{ authors[0].alias }} - } @else { - {{ authors[0].alias }} - } - - @if (authors.length > 1) {, + {{ authors.length - 1 | plural: 'author' }}} -
- @if (isSubmission) { - @if (!isSubmitterAnAuthor(map)) { -- Submitted by - {{ map.submitter.alias }} -
- } ++ By + @if (authors[0]?.id) { + {{ authors[0].alias }} + } @else { + {{ authors[0].alias }} } - @if (isAdminPage || isSubmission) { -
- @if (map.status !== MapStatus.DISABLED) { - Current Status: - {{ MapStatusName.get(map.status) }} + + @if (authors.length > 1) {, + @if (authors[1]?.id) { + {{ authors[1].alias }} } @else { - Current Status: - {{ MapStatusName.get(map.status) }} - @if (!map.currentVersion?.bspHash) { - Files deleted! - } + {{ authors[1].alias }} } + } + + @if (authors.length > 2) {, + {{ authors.length - 1 | plural: 'author' }}} +
+ @if (isSubmission) { + @if (!isSubmitterAnAuthor(map)) { ++ Submitted by + {{ map.submitter.alias }}
} -Added {{ map.createdAt | timeAgo }}
-+ @if (map.status !== MapStatus.DISABLED) { + Current Status: + {{ MapStatusName.get(map.status) }} + } @else { + Current Status: + {{ MapStatusName.get(map.status) }} + @if (!map.currentVersion?.bspHash) { + Files deleted! + } + } +
+ } + +Added {{ map.createdAt | timeAgo }}