mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Changed icon for view actions.
This commit is contained in:
parent
099aa7640b
commit
53a991176b
9 changed files with 14 additions and 10 deletions
|
|
@ -1,7 +1,8 @@
|
|||
'use client';
|
||||
import { Button, GridColumn, GridTable, Icon, Icons, Text, useBreakpoint } from 'react-basics';
|
||||
import { Button, GridColumn, GridTable, Icon, Text, useBreakpoint } from 'react-basics';
|
||||
import Link from 'next/link';
|
||||
import { useMessages, useLogin } from 'components/hooks';
|
||||
import Icons from 'components/icons';
|
||||
import { ROLES } from 'lib/constants';
|
||||
|
||||
export function TeamsTable({ data = [] }: { data: any[] }) {
|
||||
|
|
@ -42,9 +43,9 @@ export function TeamsTable({ data = [] }: { data: any[] }) {
|
|||
<Link href={`/teams/${id}`}>
|
||||
<Button>
|
||||
<Icon>
|
||||
<Icons.External />
|
||||
<Icons.Change />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.view)}</Text>
|
||||
<Text>{formatMessage(labels.switch)}</Text>
|
||||
</Button>
|
||||
</Link>
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ export function TeamSettings({ teamId }: { teamId: string }) {
|
|||
<PageHeader title={team?.name} icon={<Icons.Users />}>
|
||||
<LinkButton href={`/teams/${teamId}`} variant="primary">
|
||||
<Icon>
|
||||
<Icons.External />
|
||||
<Icons.Change />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.view)}</Text>
|
||||
</LinkButton>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import Link from 'next/link';
|
||||
import { Button, GridColumn, GridTable, Icon, Icons, Text } from 'react-basics';
|
||||
import { Button, GridColumn, GridTable, Icon, Text } from 'react-basics';
|
||||
import { useMessages } from 'components/hooks';
|
||||
import Icons from 'components/icons';
|
||||
|
||||
export function TeamWebsitesTable({
|
||||
data = [],
|
||||
|
|
@ -21,7 +22,7 @@ export function TeamWebsitesTable({
|
|||
<Link href={`/websites/${websiteId}`}>
|
||||
<Button>
|
||||
<Icon>
|
||||
<Icons.External />
|
||||
<Icons.Change />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.view)}</Text>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export function WebsiteSettings({ websiteId, openExternal = false }) {
|
|||
<Link href={`/websites/${websiteId}`} target={openExternal ? '_blank' : null}>
|
||||
<Button variant="primary">
|
||||
<Icon>
|
||||
<Icons.External />
|
||||
<Icons.ArrowRight />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.view)}</Text>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ export function WebsitesTable({
|
|||
<Link href={renderTeamUrl(`/websites/${id}`)}>
|
||||
<Button>
|
||||
<Icon>
|
||||
<Icons.External />
|
||||
<Icons.ArrowRight />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.view)}</Text>
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue