minor fix for not showing status external links if not present
This commit is contained in:
parent
e9716b4157
commit
5c64890daf
1 changed files with 6 additions and 3 deletions
|
@ -23,9 +23,12 @@
|
|||
<a class="chip transparent-border">
|
||||
<i class="fa fa-clock"></i> @Status.RelativeTime
|
||||
</a>
|
||||
@if (!string.IsNullOrWhiteSpace(Status.ExternalUrl))
|
||||
{
|
||||
<a class="chip transparent-border" href="@Status.ExternalUrl" target="_blank">
|
||||
<i class="fa fa-message-dots"></i> Respond
|
||||
<i class="fa fa-message-dots"></i> @(new Uri(Status.ExternalUrl).Host)
|
||||
</a>
|
||||
}
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue