mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 14:12:43 +00:00
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery into experimental-development
This commit is contained in:
@@ -141,15 +141,15 @@ const BrewItem = createClass({
|
|||||||
</> : <></>
|
</> : <></>
|
||||||
}
|
}
|
||||||
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
||||||
<i className='fas fa-user'/>
|
<i className='fas fa-user'/>
|
||||||
{brew.authors?.map((author, index) => (
|
{brew.authors?.map((author, index) => (
|
||||||
<React.Fragment key={index}>
|
<React.Fragment key={index}>
|
||||||
{author === 'hidden'
|
{author === 'hidden'
|
||||||
? <span title="Username contained an email address; hidden to protect user's privacy">{author}</span>
|
? <span title="Username contained an email address; hidden to protect user's privacy">{author}</span>
|
||||||
: <a href={`/user/${author}`}>{author}</a>
|
: <a href={`/user/${author}`}>{author}</a>
|
||||||
}
|
}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</span>
|
</span>
|
||||||
<br />
|
<br />
|
||||||
<span title={`Last viewed: ${moment(brew.lastViewed).local().format(dateFormatString)}`}>
|
<span title={`Last viewed: ${moment(brew.lastViewed).local().format(dateFormatString)}`}>
|
||||||
|
|||||||
Reference in New Issue
Block a user