mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 11:34:01 -06:00
Add ability to subscribe from the channel account page
This commit is contained in:
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
Block a user