Skip to content
Snippets Groups Projects
Commit 36f409e1 authored by Anthony's avatar Anthony
Browse files

Update translation and remove useless css

parent d890332c
No related branches found
No related tags found
1 merge request!15Add research field and undo research manifest in annotation content
...@@ -154,6 +154,14 @@ export class CanvasAnnotations extends Component { ...@@ -154,6 +154,14 @@ export class CanvasAnnotations extends Component {
</ScrollTo> </ScrollTo>
)) ))
} }
{annotations.length == 0
&& (
<MenuItem>
<Typography>
{t('noAnnotationFound')}
</Typography>
</MenuItem>
)}
</MenuList> </MenuList>
</> </>
); );
......
...@@ -80,25 +80,9 @@ const styles = theme => ({ ...@@ -80,25 +80,9 @@ const styles = theme => ({
flexGrow: 1, flexGrow: 1,
}, },
hovered: {}, hovered: {},
inputInput: {
padding: theme.spacing(1, 1, 1, 0),
// vertical padding + font size from searchIcon
paddingLeft: `calc(1em + ${theme.spacing(4)}px)`,
transition: theme.transitions.create('width'),
width: '100%',
[theme.breakpoints.up('md')]: {
width: '20ch',
},
},
inputRoot: {
color: 'inherit',
},
manifestLabel: { manifestLabel: {
fontSize: '10px', fontSize: '10px',
}, },
menuButton: {
marginRight: theme.spacing(2),
},
searchAnnotationsTextfield: { searchAnnotationsTextfield: {
width: '100%', width: '100%',
}, },
......
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
"multipartCollection": "Multipart Collection", "multipartCollection": "Multipart Collection",
"nextCanvas": "Next item", "nextCanvas": "Next item",
"noItemSelected": "No item selected", "noItemSelected": "No item selected",
"noAnnotationFound": "No annotation found",
"numItems_one": "{{number}} item", "numItems_one": "{{number}} item",
"numItems_other": "{{number}} items", "numItems_other": "{{number}} items",
"off": "Off", "off": "Off",
......
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
"moveCompanionWindowToRight": "Déplacer à droite", "moveCompanionWindowToRight": "Déplacer à droite",
"nextCanvas": "Suivant", "nextCanvas": "Suivant",
"noItemSelected": "Aucun élément sélectionné", "noItemSelected": "Aucun élément sélectionné",
"noAnnotationFound": "Aucune annotation trouvé",
"numItems_one": "{{number}} image", "numItems_one": "{{number}} image",
"numItems_other": "{{number}} images", "numItems_other": "{{number}} images",
"off": "aucun", "off": "aucun",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment