mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-29 04:42:41 +00:00
Add a page count to User page
This commit is contained in:
@@ -112,6 +112,7 @@ const BrewItem = createClass({
|
||||
<h2>{brew.title}</h2>
|
||||
<p className='description'>{brew.description}</p>
|
||||
<hr />
|
||||
<div className='spacer'></div>
|
||||
|
||||
<div className='info'>
|
||||
<span>
|
||||
@@ -120,6 +121,9 @@ const BrewItem = createClass({
|
||||
<span>
|
||||
<i className='fas fa-eye' /> {brew.views}
|
||||
</span>
|
||||
<span>
|
||||
<i className='far fa-file' /> {brew.pageCount || 1}
|
||||
</span>
|
||||
<span>
|
||||
<i className='fas fa-sync-alt' /> {moment(brew.updatedAt).fromNow()}
|
||||
</span>
|
||||
|
||||
@@ -69,4 +69,7 @@
|
||||
padding : 0px;
|
||||
margin : -5px;
|
||||
}
|
||||
.spacer {
|
||||
height : 25px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user