chore: add build number to license (#57)
Co-authored-by: yaojiping <yaojiping@infini.ltd>
This commit is contained in:
parent
edaa276ac3
commit
53178fa869
|
@ -8,7 +8,7 @@ import { getWebsitePathByLang } from "@/utils/utils";
|
|||
const { Paragraph, Text } = Typography;
|
||||
|
||||
export default ({ application, licence }) => {
|
||||
const { number, build_date, build_hash } = application?.version || {};
|
||||
const { number, build_number, build_date, build_hash } = application?.version || {};
|
||||
|
||||
return (
|
||||
<div className={styles.version}>
|
||||
|
@ -24,6 +24,11 @@ export default ({ application, licence }) => {
|
|||
>
|
||||
{moment(build_date).format(DATE_FORMAT)}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item
|
||||
label={formatMessage({ id: "license.label.build_number" })}
|
||||
>
|
||||
{build_number}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="Hash">{build_hash}</Descriptions.Item>
|
||||
</Descriptions>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,7 @@ export default {
|
|||
"license.tab.license.title": "License",
|
||||
"license.label.version": "Version",
|
||||
"license.label.build_time": "Build Time",
|
||||
"license.label.build_number": "Build Number",
|
||||
"license.label.license_type": "License Type",
|
||||
"license.label.max_nodes": "Maximum Nodes",
|
||||
"license.label.issue_to": "Issue To",
|
||||
|
|
|
@ -5,6 +5,7 @@ export default {
|
|||
"license.tab.license.title": "授权信息",
|
||||
"license.label.version": "版本",
|
||||
"license.label.build_time": "编译时间",
|
||||
"license.label.build_number": "编译版本号",
|
||||
"license.label.license_type": "授权类型",
|
||||
"license.label.max_nodes": "最大节点数",
|
||||
"license.label.issue_to": "授权对象",
|
||||
|
|
Loading…
Reference in New Issue