Add refresh button to job detail page.

This commit is contained in:
Patrick Fic
2022-04-18 15:34:12 -07:00
parent 65bf81b349
commit 6998a11a3a
5 changed files with 34 additions and 0 deletions

View File

@@ -15925,6 +15925,27 @@
</translation>
</translations>
</concept_node>
<concept_node>
<name>refresh</name>
<definition_loaded>false</definition_loaded>
<description></description>
<comment></comment>
<default_text></default_text>
<translations>
<translation>
<language>en-US</language>
<approved>false</approved>
</translation>
<translation>
<language>es-MX</language>
<approved>false</approved>
</translation>
<translation>
<language>fr-CA</language>
<approved>false</approved>
</translation>
</translations>
</concept_node>
<concept_node>
<name>required</name>
<definition_loaded>false</definition_loaded>

View File

@@ -6,6 +6,7 @@ import Icon, {
PrinterFilled,
ToolFilled,
HistoryOutlined,
SyncOutlined,
} from "@ant-design/icons";
import {
Button,
@@ -178,6 +179,15 @@ export function JobsDetailPage({
const menuExtra = (
<Space wrap>
<Button
onClick={() => {
refetch();
}}
key="refresh"
>
<SyncOutlined />
{t("general.labels.refresh")}
</Button>
<JobsChangeStatus job={job} />
<JobSyncButton job={job} />
<Button

View File

@@ -990,6 +990,7 @@
"passwordresetvalidatesuccess_sub": "You may now sign in again using your new password. ",
"passwordsdonotmatch": "The passwords you have entered do not match.",
"print": "Print",
"refresh": "Refresh",
"required": "Required",
"saturday": "Saturday",
"search": "Search...",

View File

@@ -990,6 +990,7 @@
"passwordresetvalidatesuccess_sub": "",
"passwordsdonotmatch": "",
"print": "",
"refresh": "",
"required": "",
"saturday": "",
"search": "Buscar...",

View File

@@ -990,6 +990,7 @@
"passwordresetvalidatesuccess_sub": "",
"passwordsdonotmatch": "",
"print": "",
"refresh": "",
"required": "",
"saturday": "",
"search": "Chercher...",