Skip to content

Commit

Permalink
feat: update TokensTable button sizes to 'tiny' and adjust translatio…
Browse files Browse the repository at this point in the history
…n for 'never expire'
  • Loading branch information
songquanpeng committed Feb 2, 2025
1 parent 20c30a0 commit 95009b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions web/default/src/components/TokensTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,9 @@ const TokensTable = () => {
</Table.Cell>
<Table.Cell>
<div>
<Button.Group color='green' size={'mini'}>
<Button.Group color='green' size={'tiny'}>
<Button
size={'mini'}
size={'tiny'}
positive
onClick={async () => await onCopy('', token.key)}
>
Expand All @@ -430,9 +430,9 @@ const TokensTable = () => {
trigger={<></>}
/>
</Button.Group>{' '}
<Button.Group color='blue' size={'mini'}>
<Button.Group color='olive' size={'tiny'}>
<Button
size={'mini'}
size={'tiny'}
positive
onClick={() => onOpenLink('', token.key)}
>
Expand All @@ -456,7 +456,7 @@ const TokensTable = () => {
hoverable
>
<Button
size={'mini'}
size={'tiny'}
negative
onClick={() => {
manageToken(token.id, 'delete', idx);
Expand All @@ -466,7 +466,7 @@ const TokensTable = () => {
</Button>
</Popup>
<Button
size={'mini'}
size={'tiny'}
onClick={() => {
manageToken(
token.id,
Expand All @@ -480,7 +480,7 @@ const TokensTable = () => {
: t('token.buttons.enable')}
</Button>
<Button
size={'mini'}
size={'tiny'}
as={Link}
to={'/token/edit/' + token.id}
>
Expand Down
2 changes: 1 addition & 1 deletion web/default/src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"expired_time": "Expiry Time",
"actions": "Actions",
"no_name": "None",
"never_expire": "Never Expires",
"never_expire": "never",
"unlimited": "Unlimited",
"status_enabled": "Enabled",
"status_disabled": "Disabled",
Expand Down

0 comments on commit 95009b2

Please sign in to comment.