Skip to content

Commit

Permalink
added user guide links (#397)
Browse files Browse the repository at this point in the history
* added user guide links

* added specific runner link

* small styling issue
  • Loading branch information
Gerwoud authored May 23, 2024
1 parent 9f4237f commit fe979f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/public/locales/en/projectformTranslation.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"runnerComponent": {
"testWarning": "No appropriate test file found, can't upload project",
"clearSelected": "Clear Selection",
"tooltipRunner": "If you're having trouble figuring out the runner please refer to the docs",
"tooltipRunner": "If you're having trouble figuring out the runner please refer to the ",
"userDocs": "runner user docs"
},
"dragAndDrop": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ProjectForm/ProjectForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export default function ProjectForm() {
<Grid item>
<Stack direction="row" style={{display: "flex", alignItems:"center", paddingBottom: "40px"}}>
<FolderDragDrop onFileDrop={file => handleFileUpload2(file)} regexRequirements={[]} />
<Tooltip style={{ height: "40%" }} title={<Typography variant="h6">{t("fileInfo")}: <Link to="/">{t("userDocs")}</Link></Typography>}>
<Tooltip style={{ height: "40%" }} title={<Typography variant="h6">{t("fileInfo")}: <Link to="/user-guide">{t("userDocs")}</Link></Typography>}>
<IconButton>
<InfoOutlined/>
</IconButton>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ProjectForm/RunnerSelecter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function RunnerSelecter({ handleSubmit, runner, containsDocker, c
<MenuItem value={t("clearSelected")}>{t("clearSelected")}</MenuItem>
</Select>
</FormControl>
<Tooltip title={<Typography variant="h6">{t("tooltipRunner")}: <Link to="/">{t("userDocs")}</Link></Typography>}>
<Tooltip title={<Typography variant="h6">{t("tooltipRunner")} <Link to="/user-guide/docs/category/evaluators">{t("userDocs")}</Link></Typography>}>
<IconButton>
<InfoOutlined/>
</IconButton>
Expand Down

0 comments on commit fe979f5

Please sign in to comment.