Skip to content

Commit

Permalink
Merge pull request emsesp#2332 from proddy/dev
Browse files Browse the repository at this point in the history
formatting upgrade button
  • Loading branch information
proddy authored Jan 5, 2025
2 parents bfbd263 + e702b0b commit 6be304f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions interface/src/app/settings/Version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ const Version = () => {
alignItems: 'baseline'
}}
>
<Grid size={4}>
<Grid size={{ xs: 4, md: 2 }}>
<Typography color="secondary">{LL.VERSION()}</Typography>
</Grid>
<Grid size={8}>
<Grid size={{ xs: 8, md: 10 }}>
<Typography>
{data.emsesp_version}
{data.build_flags && (
Expand All @@ -248,17 +248,17 @@ const Version = () => {
</Typography>
</Grid>

<Grid size={4}>
<Grid size={{ xs: 4, md: 2 }}>
<Typography color="secondary">Platform</Typography>
</Grid>
<Grid size={8}>
<Grid size={{ xs: 8, md: 10 }}>
<Typography>{getPlatform()}</Typography>
</Grid>

<Grid size={4}>
<Grid size={{ xs: 4, md: 2 }}>
<Typography color="secondary">Release Type</Typography>
</Grid>
<Grid size={8}>
<Grid size={{ xs: 8, md: 10 }}>
<Typography>
{data.emsesp_version.includes('dev')
? LL.DEVELOPMENT()
Expand All @@ -280,29 +280,29 @@ const Version = () => {
alignItems: 'baseline'
}}
>
<Grid size={4}>
<Grid size={{ xs: 4, md: 2 }}>
<Typography color="secondary">{LL.STABLE()}</Typography>
</Grid>
<Grid size={4}>
<Grid size={{ xs: 8, md: 10 }}>
<Typography>
<Link target="_blank" href={STABLE_RELNOTES_URL} color="primary">
{latestVersion}
</Link>
&nbsp;&nbsp;{!usingDevVersion && showButtons()}
</Typography>
</Grid>
<Grid size={4}>{!usingDevVersion && showButtons()}</Grid>

<Grid size={4}>
<Grid size={{ xs: 4, md: 2 }}>
<Typography color="secondary">{LL.DEVELOPMENT()}</Typography>
</Grid>
<Grid size={4}>
<Grid size={{ xs: 8, md: 10 }}>
<Typography>
<Link target="_blank" href={DEV_RELNOTES_URL} color="primary">
{latestDevVersion}
</Link>
&nbsp;&nbsp;{usingDevVersion && showButtons()}
</Typography>
</Grid>
<Grid size={4}>{usingDevVersion && showButtons()}</Grid>
</Grid>

{internetLive ? (
Expand Down

0 comments on commit 6be304f

Please sign in to comment.