Show correct note when crowdfund is publicly visible

See discussion here: https://github.com/btcpayserver/btcpayserver/discussions/2968
This commit is contained in:
Umar Bolatov 2021-11-14 15:34:18 -08:00
parent 08f57558da
commit 6ac9c74028
No known key found for this signature in database
GPG Key ID: 2C1F9AEB371D2A28

View File

@ -105,7 +105,8 @@
<label asp-for="Enabled" class="form-label mb-0"></label>
</div>
<span asp-validation-for="Enabled" class="text-danger"></span>
<div class="text-muted">The crowdfund is only visible to you. To make it visible to anyone else, enable this.</div>
<div class="text-muted" hidden="@Model.Enabled">The crowdfund is only visible to you. To make it visible to anyone else, enable this.</div>
<div class="text-muted" hidden="@(!Model.Enabled)">The crowdfund is visible to anyone. To make it only visible to you, disable this.</div>
</div>
</div>
<div class="col-lg-12">