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

View File

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