Make player link consistent with the rest of the new player flow
This commit is contained in:
parent
1fa210e3df
commit
0bb7a12664
|
@ -32,7 +32,7 @@
|
||||||
@if (!string.IsNullOrWhiteSpace(user.ChatUrl)) {
|
@if (!string.IsNullOrWhiteSpace(user.ChatUrl)) {
|
||||||
<a href="@user.ChatUrl" target="_blank" role="button" class="btn btn-primary">Chat</a>
|
<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.AllowRestream) {
|
||||||
if ((user.RestreamUrls ?? "").Contains(",")) {
|
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>
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue