var pronounAdditional = user.PronounSubject == "they" ? "are" : "is"; // TODO make this configurable too
}
<div class="text-center">
<h3 class="display">Welcome to @Model.User's page!</h3>
@if (live) {
@if (!string.IsNullOrWhiteSpace(user.ChatUrl)) {
<p>@user.PronounSubject.FirstCharToUpper() @pronounAdditional currently live! @user.PronounPossessive.FirstCharToUpper() stream chat is located <a href="@user.ChatUrl" target="_blank">here</a>.</p>
}
else {
<p>@user.PronounSubject.FirstCharToUpper() @pronounAdditional currently live! @user.PronounSubject.FirstCharToUpper() have not specified a stream chat URL, so enjoy @user.PronounPossessive content!</p>
if (!string.IsNullOrWhiteSpace(user.AnnouncementUrl)) {
<p>@user.PronounSubject.FirstCharToUpper() @pronounAdditional not currently live. @user.PronounSubject.FirstCharToUpper() have indicated that @user.PronounSubject will announce their streams <a href="@user.AnnouncementUrl" target="_blank">here</a>.</p>
}
else {
<p>@user.PronounSubject.FirstCharToUpper() @pronounAdditional not currently live. @user.PronounSubject.FirstCharToUpper() have not specified an announcement URL, so check back later!</p>