Make player link consistent with the rest of the new player flow

This commit is contained in:
Laura Hausmann 2022-02-06 10:03:14 +01:00
parent 1fa210e3df
commit 0bb7a12664
Signed by: zotan
GPG Key ID: D044E84C5BE01605
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
@if (!string.IsNullOrWhiteSpace(user.ChatUrl)) {
<a href="@user.ChatUrl" target="_blank" role="button" class="btn btn-primary">Chat</a>
}
<a href="@Program.PlayerDomain/@user.Username" target="_blank" role="button" class="btn btn-success" data-toggle="tooltip" data-placement="bottom" title="@videoInfo">Source - @(stream?.Meta.Video.Height ?? "?")p</a>
<a href="@Program.PlayerDomain/@user.Username" role="button" class="btn btn-success" data-toggle="tooltip" data-placement="bottom" title="@videoInfo">Source - @(stream?.Meta.Video.Height ?? "?")p</a>
@if (user.AllowRestream) {
if ((user.RestreamUrls ?? "").Contains(",")) {
<a href="@user.RestreamUrls!.Split(",")[0]" target="_blank" role="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="bottom" title="@videoInfo">Twitch Restream</a>