Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec0bb7b

Browse files
authored
feat: update language on workspace page (#2220)
1 parent02d2aea commitec0bb7b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎site/src/components/WorkspaceStats/WorkspaceStats.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ import { Workspace } from "../../api/typesGenerated"
77
import{CardRadius,MONOSPACE_FONT_FAMILY}from"../../theme/constants"
88
import{combineClasses}from"../../util/combineClasses"
99
import{getDisplayStatus}from"../../util/workspace"
10+
import{WorkspaceSection}from"../WorkspaceSection/WorkspaceSection"
1011

1112
constLanguage={
13+
workspaceDetails:"Workspace Details",
1214
templateLabel:"Template",
13-
statusLabel:"Status",
15+
statusLabel:"WorkspaceStatus",
1416
versionLabel:"Version",
1517
lastBuiltLabel:"Last Built",
1618
outdated:"Outdated",
@@ -27,7 +29,7 @@ export const WorkspaceStats: FC<WorkspaceStatsProps> = ({ workspace }) => {
2729
conststatus=getDisplayStatus(theme,workspace.latest_build)
2830

2931
return(
30-
<divclassName={styles.stats}>
32+
<WorkspaceSectiontitle={Language.workspaceDetails}contentsProps={{className:styles.stats}}>
3133
<divclassName={styles.statItem}>
3234
<spanclassName={styles.statsLabel}>{Language.templateLabel}</span>
3335
<Link
@@ -65,7 +67,7 @@ export const WorkspaceStats: FC<WorkspaceStatsProps> = ({ workspace }) => {
6567
</span>
6668
</span>
6769
</div>
68-
</div>
70+
</WorkspaceSection>
6971
)
7072
}
7173

@@ -79,7 +81,7 @@ const useStyles = makeStyles((theme) => ({
7981
alignItems:"center",
8082
color:theme.palette.text.secondary,
8183
fontFamily:MONOSPACE_FONT_FAMILY,
82-
border:`1px solid${theme.palette.divider}`,
84+
margin:"0px",
8385
},
8486

8587
statItem:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp