mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-26 01:14:20 +01:00
Remove section nav for pull payments and payouts
This commit is contained in:
committed by
Andrew Camilleri
parent
7d2627551b
commit
42e731369e
@@ -7,9 +7,7 @@
|
||||
|
||||
@inject IEnumerable<IPayoutHandler> PayoutHandlers;
|
||||
@{
|
||||
Layout = "../Shared/_NavLayout.cshtml";
|
||||
ViewData["NavPartialName"] = "../Stores/_Nav";
|
||||
ViewData.SetActivePageAndTitle(StoreNavPages.Payouts, $"Manage payouts{(string.IsNullOrEmpty(Model.PullPaymentName) ? string.Empty : " for pull payment " + Model.PullPaymentName)}", Context.GetStoreData().StoreName);
|
||||
ViewData.SetActivePageAndTitle(StoreNavPages.Payouts, $"Payouts{(string.IsNullOrEmpty(Model.PullPaymentName) ? string.Empty : " for pull payment " + Model.PullPaymentName)}", Context.GetStoreData().StoreName);
|
||||
Model.PaginationQuery ??= new Dictionary<string, object>();
|
||||
Model.PaginationQuery.Add("pullPaymentId", Model.PullPaymentId);
|
||||
Model.PaginationQuery.Add("paymentMethodId", Model.PaymentMethodId);
|
||||
@@ -50,11 +48,11 @@
|
||||
</script>
|
||||
}
|
||||
|
||||
<h2 class="mt-1 mb-4">@ViewData["Title"]</h2>
|
||||
|
||||
<form method="post">
|
||||
<input type="hidden" asp-for="PaymentMethodId"/>
|
||||
<input type="hidden" asp-for="PayoutState"/>
|
||||
<h4 class="mb-4">@ViewData["Title"]</h4>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<ul class="nav nav-pills bg-tile mb-2" style="border-radius:4px; border: 1px solid var(--btcpay-body-border-medium)">
|
||||
|
||||
@@ -3,11 +3,9 @@
|
||||
@using BTCPayServer.Client
|
||||
@model BTCPayServer.Models.WalletViewModels.PullPaymentsModel
|
||||
@{
|
||||
Layout = "../Shared/_NavLayout.cshtml";
|
||||
ViewData["NavPartialName"] = "../Stores/_Nav";
|
||||
ViewData.SetActivePageAndTitle(StoreNavPages.PullPayments, "Pull payments", Context.GetStoreData().StoreName);
|
||||
var nextStartDateSortOrder = (string)ViewData["NextStartSortOrder"];
|
||||
String startDateSortOrder = null;
|
||||
string startDateSortOrder = null;
|
||||
switch (nextStartDateSortOrder)
|
||||
{
|
||||
case "asc":
|
||||
@@ -36,15 +34,15 @@
|
||||
</style>
|
||||
}
|
||||
|
||||
<div class="d-flex align-items-center justify-content-between mt-n1 mb-3">
|
||||
<h4 class="mb-0">
|
||||
<div class="d-flex align-items-center justify-content-between mb-2">
|
||||
<h2 class="mb-0">
|
||||
@ViewData["Title"]
|
||||
<small>
|
||||
<a href="https://docs.btcpayserver.org/PullPayments/" target="_blank" rel="noreferrer noopener">
|
||||
<span class="fa fa-question-circle-o text-secondary" title="More information..."></span>
|
||||
</a>
|
||||
</small>
|
||||
</h4>
|
||||
</h2>
|
||||
<a permission="@Policies.CanModifyStoreSettings" asp-action="NewPullPayment" asp-route-storeId="@Context.GetRouteValue("storeId")" class="btn btn-primary" role="button" id="NewPullPayment">
|
||||
<span class="fa fa-plus"></span> Create a new pull payment
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user