Add username to teks tit
This commit is contained in:
@@ -10,7 +10,8 @@ import {
|
|||||||
CssBaseline,
|
CssBaseline,
|
||||||
Drawer,
|
Drawer,
|
||||||
Hidden,
|
Hidden,
|
||||||
IconButton
|
IconButton,
|
||||||
|
Box
|
||||||
} from '@material-ui/core'
|
} from '@material-ui/core'
|
||||||
|
|
||||||
import KeyboardBackspaceIcon from '@material-ui/icons/KeyboardBackspace'
|
import KeyboardBackspaceIcon from '@material-ui/icons/KeyboardBackspace'
|
||||||
@@ -183,9 +184,16 @@ export default function TeksDrawer({teks, anTeks}) {
|
|||||||
<main className={classes.content}>
|
<main className={classes.content}>
|
||||||
{anTeks ? (
|
{anTeks ? (
|
||||||
<>
|
<>
|
||||||
<Typography noWrap align='center' style={{marginTop: '0.8em'}} variant='h4'>
|
<Box align='center'>
|
||||||
|
<Typography noWrap style={{marginTop: '0.8em'}} variant='h4'>
|
||||||
{anTeks.tit}
|
{anTeks.tit}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<Typography variant='caption'>
|
||||||
|
{anTeks.user && (
|
||||||
|
<i>retranscrit par {anTeks.user.username}</i>
|
||||||
|
)}
|
||||||
|
</Typography>
|
||||||
|
</Box>
|
||||||
{anTeks.okiMizikID && (
|
{anTeks.okiMizikID && (
|
||||||
<OkiMizik id={anTeks.okiMizikID} />
|
<OkiMizik id={anTeks.okiMizikID} />
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -45,9 +45,16 @@ export default function TeksKat({teks}) {
|
|||||||
title={tit}
|
title={tit}
|
||||||
/>
|
/>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Typography gutterBottom variant='h5' component='h2'>
|
<Typography display='inline' style={{marginRight: 5}} variant='h6' component='h2'>
|
||||||
{tit}
|
{tit}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<Typography variant='caption'>
|
||||||
|
{teks.user && (
|
||||||
|
<>
|
||||||
|
(<i>retranscrit par {teks.user.username}</i>)
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</Typography>
|
||||||
<Typography variant='body2' color='textSecondary' component='p'>
|
<Typography variant='body2' color='textSecondary' component='p'>
|
||||||
{awtis.map(a => a.alias).join(', ')}
|
{awtis.map(a => a.alias).join(', ')}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
Reference in New Issue
Block a user