Add missing payment request page titles

This commit is contained in:
Dennis Reimann 2019-11-15 14:43:36 +01:00
parent 2bfea50014
commit a127b13db1
No known key found for this signature in database
GPG Key ID: 5009E1797F03F8D0
2 changed files with 5 additions and 1 deletions

View File

@ -2,11 +2,14 @@
@using System.Globalization
@model BTCPayServer.Models.PaymentRequestViewModels.UpdatePaymentRequestViewModel
@addTagHelper *, BundlerMinifier.TagHelpers
@{
ViewData["Title"] = (string.IsNullOrEmpty(Model.Id) ? "Create" : "Edit") + " Payment Request";
}
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 section-heading">
<h2>@(string.IsNullOrEmpty(Model.Id) ? "Create" : "Edit") Payment Request</h2>
<h2>@ViewData["Title"]</h2>
<hr class="primary">
</div>
</div>

View File

@ -2,6 +2,7 @@
@model BTCPayServer.Models.PaymentRequestViewModels.ListPaymentRequestsViewModel
@{
Layout = "_Layout";
ViewData["Title"] = "Payment Requests";
}
<section>
<div class="container">