Skip to content

Commit

Permalink
Merge pull request #1089 from AI4Bharat/sagarika-develop
Browse files Browse the repository at this point in the history
added tooltip
  • Loading branch information
aparna-aa authored Jul 30, 2024
2 parents 2595657 + f80661a commit 0e805ec
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/ui/pages/component/common/DetailsViewPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,22 +421,22 @@ const DetailsViewPage = (props) => {
columnSpacing={4}
rowSpacing={2}
>
<Grid item xs={12} sm={6}>
<Grid item xs={12} sm={12}>
<Link to={`/create-annotation-project/${id}`}>
<Button
className={classes.projectButton}
label={"Add New Annotation Project"}
/>
</Link>
</Grid>
<Grid item xs={12} sm={6}>
{/* <Grid item xs={12} sm={6}>
<Link to={`/create-collection-project/${id}`}>
<Button
className={classes.projectButton}
label={"Add New Collection Project"}
/>
</Link>
</Grid>
</Grid> */}
</Grid>
<div className={classes.workspaceTables}>
<ProjectTable />
Expand Down
20 changes: 17 additions & 3 deletions src/ui/pages/container/Dataset/CreateNewDatasetInstance.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
Tab,
Tabs,
ThemeProvider,
Tooltip,
Typography,
} from "@mui/material";
import React, { useEffect, useState } from "react";
Expand Down Expand Up @@ -176,9 +177,22 @@ const CollectionProject = (props) => {
lg={12}
xl={12}
>
<Typography gutterBottom component="div">
Parent_Instance_Id:
</Typography>

<Grid item xs={4} md={4} lg={4} xl={4} sm={4}>
<div style={{ display: 'flex', alignItems: 'center' }}>
<Typography gutterBottom component="div">
Parent_Instance_Id:
</Typography>
<Tooltip
arrow
title="Parent Data (A reference to database object referenced by integer ID field) - The parent data item id of this record. When a single sentence in a particular language is to be translated into another language, the source data item id is used as a 'Parent Data' and a separate child conversation data item is created for each language for which the source data item is to be translated into."
placement="right"
>
<Info style={{ marginBottom: "5px", cursor: 'pointer', color: "grey" }} />
</Tooltip>
</div>
</Grid>

</Grid>
<Grid item xs={12} md={12} lg={12} xl={12} sm={12}>
<OutlinedTextField
Expand Down

0 comments on commit 0e805ec

Please sign in to comment.