Add userAdmin
This commit is contained in:
@@ -65,6 +65,11 @@ export default function TeksKat({teks}) {
|
|||||||
(<i>texte soumis par {teks.user.username}</i>)
|
(<i>texte soumis par {teks.user.username}</i>)
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
{teks.userAdmin && !teks.user && (
|
||||||
|
<>
|
||||||
|
(<i>texte soumis par {teks.userAdmin}</i>)
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant='body2' color='textSecondary' component='p'>
|
<Typography variant='body2' color='textSecondary' component='p'>
|
||||||
{new Intl.ListFormat('fr').format(alias)}
|
{new Intl.ListFormat('fr').format(alias)}
|
||||||
|
|||||||
@@ -161,6 +161,11 @@ export default function Teks({anTeks, komante, open, success, error, setSuccess,
|
|||||||
<i>texte soumis par {anTeks.user.username}</i>
|
<i>texte soumis par {anTeks.user.username}</i>
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
|
{anTeks.userAdmin && !anTeks.user && (
|
||||||
|
<Typography style={{marginBottom: '1.5em'}} display='block' variant='caption'>
|
||||||
|
<i>texte soumis par {anTeks.userAdmin}</i>
|
||||||
|
</Typography>
|
||||||
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
{(anTeks.okiMizikID || anTeks.kouteyAchtey.length > 0) && (
|
{(anTeks.okiMizikID || anTeks.kouteyAchtey.length > 0) && (
|
||||||
<Box sx={{textAlign: 'center'}}>
|
<Box sx={{textAlign: 'center'}}>
|
||||||
|
|||||||
Reference in New Issue
Block a user