Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

feat: show creator on board page (#440)

Meier Lukas5d30301b95a8
diff --git a/apps/nextjs/src/app/[locale]/manage/boards/page.tsx b/apps/nextjs/src/app/[locale]/manage/boards/page.tsx
index cf0a52532..774e09975 100644
--- a/apps/nextjs/src/app/[locale]/manage/boards/page.tsx
+++ b/apps/nextjs/src/app/[locale]/manage/boards/page.tsx
@@ -18,6 +18,7 @@ import { IconDotsVertical, IconLock, IconWorld } from "@tabler/icons-react";
import type { RouterOutputs } from "@homarr/api";
import { api } from "@homarr/api/server";
import { getScopedI18n } from "@homarr/translation/server";
+import { UserAvatar } from "@homarr/ui";
import { getBoardPermissions } from "~/components/board/permissions/server";
import { BoardCardMenuDropdown } from "./_components/board-card-menu-dropdown";
@@ -37,7 +38,7 @@ export default async function ManageBoardsPage() {
<Grid>
{boards.map((board) => (
- <GridCol span={{ xs: 12, md: 4 }} key={board.id}>
+ <GridCol span={{ base: 12, md: 6, xl: 4 }} key={board.id}>
<BoardCard board={board} />
</GridCol>
))}
@@ -68,6 +69,13 @@ const BoardCard = async ({ board }: BoardCardProps) => {
{board.name}
</Text>
</Group>
+
+ {board.creator && (
+ <Group gap="xs">
+ <UserAvatar user={board.creator} size="sm" />
+ <Text>{board.creator?.name}</Text>
+ </Group>
+ )}
</Group>
</CardSection>