mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-13 19:37:37 +01:00
Merge pull request #1161 from britttttk/app-button
Hide View button in crowdfund
This commit is contained in:
commit
35a4278ae8
1 changed files with 3 additions and 0 deletions
|
@ -217,7 +217,10 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button name="command" type="submit" class="btn btn-primary" value="save" id="SaveSettings">Save settings</button>
|
<button name="command" type="submit" class="btn btn-primary" value="save" id="SaveSettings">Save settings</button>
|
||||||
<a class="btn btn-secondary" target="_blank" asp-action="ListInvoices" asp-controller="Invoice" asp-route-searchterm="@Model.SearchTerm">Invoices</a>
|
<a class="btn btn-secondary" target="_blank" asp-action="ListInvoices" asp-controller="Invoice" asp-route-searchterm="@Model.SearchTerm">Invoices</a>
|
||||||
|
@if ((Model.Description != null) && (Model.Title != null) && (Model.TargetCurrency != null))
|
||||||
|
{
|
||||||
<button name="command" type="submit" value="viewapp" class="btn btn-secondary" id="ViewApp">View App</button>
|
<button name="command" type="submit" value="viewapp" class="btn btn-secondary" id="ViewApp">View App</button>
|
||||||
|
}
|
||||||
<a class="btn btn-secondary" target="_blank" asp-action="ListApps">Back to the app list</a>
|
<a class="btn btn-secondary" target="_blank" asp-action="ListApps">Back to the app list</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Reference in a new issue