Add username to teks tit

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-05-26 02:49:06 +02:00
parent 9cc7d86b89
commit 52bc17fb3e
2 changed files with 20 additions and 5 deletions
+8 -1
View File
@@ -45,9 +45,16 @@ export default function TeksKat({teks}) {
title={tit}
/>
<CardContent>
<Typography gutterBottom variant='h5' component='h2'>
<Typography display='inline' style={{marginRight: 5}} variant='h6' component='h2'>
{tit}
</Typography>
<Typography variant='caption'>
{teks.user && (
<>
(<i>retranscrit par {teks.user.username}</i>)
</>
)}
</Typography>
<Typography variant='body2' color='textSecondary' component='p'>
{awtis.map(a => a.alias).join(', ')}
</Typography>