-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2815 from umami-software/dev
v2.12.1
- Loading branch information
Showing
26 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,7 +121,7 @@ | |
} | ||
|
||
.name { | ||
font-weight: 500; | ||
max-width: 200px; | ||
} | ||
|
||
.count { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/app/(main)/teams/[teamId]/settings/TeamSettingsLayout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
'use client'; | ||
import { ReactNode } from 'react'; | ||
import { useMessages, useTeamUrl } from 'components/hooks'; | ||
import MenuLayout from 'components/layout/MenuLayout'; | ||
|
||
export default function TeamSettingsLayout({ children }: { children: ReactNode }) { | ||
const { formatMessage, labels } = useMessages(); | ||
const { teamId } = useTeamUrl(); | ||
|
||
const items = [ | ||
{ | ||
key: 'team', | ||
label: formatMessage(labels.team), | ||
url: `/teams/${teamId}/settings/team`, | ||
}, | ||
{ | ||
key: 'websites', | ||
label: formatMessage(labels.websites), | ||
url: `/teams/${teamId}/settings/websites`, | ||
}, | ||
{ | ||
key: 'members', | ||
label: formatMessage(labels.members), | ||
url: `/teams/${teamId}/settings/members`, | ||
}, | ||
].filter(n => n); | ||
|
||
return <MenuLayout items={items}>{children}</MenuLayout>; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
src/app/(main)/teams/[teamId]/settings/websites/[websiteId]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Page from 'app/(main)/settings/websites/[websiteId]/page'; | ||
|
||
export default function ({ params }) { | ||
return <Page params={params} />; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters