mirror of https://github.com/Chocobozzz/PeerTube
Add ability to subscribe from the channel account page
parent
c8487f3f63
commit
bc01017be9
|
@ -9,6 +9,8 @@
|
|||
<div>{{ videoChannel.displayName }}</div>
|
||||
<div i18n class="followers">{{ videoChannel.followersCount }} subscribers</div>
|
||||
</a>
|
||||
|
||||
<my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button>
|
||||
</div>
|
||||
|
||||
<my-video-miniature *ngFor="let video of getVideosOf(videoChannel)" [video]="video" [user]="user" [displayVideoActions]="false"></my-video-miniature>
|
||||
|
|
|
@ -156,6 +156,8 @@ $play-overlay-width: 18px;
|
|||
font-size: 24px;
|
||||
font-weight: $font-semibold;
|
||||
margin-bottom: 30px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
a {
|
||||
&:hover, &:focus:not(.focus-visible), &:active {
|
||||
|
|
|
@ -117,7 +117,7 @@ async function listAccountChannels (req: express.Request, res: express.Response)
|
|||
accountId: res.locals.account.id,
|
||||
start: req.query.start,
|
||||
count: req.query.count,
|
||||
sort: req.query.sort,
|
||||
sort: req.query.sort
|
||||
}
|
||||
|
||||
const resultList = await VideoChannelModel.listByAccount(options)
|
||||
|
|
Loading…
Reference in New Issue