Place status message in correct positions for cart and static versions of POS app

fix #1758
This commit is contained in:
Umar Bolatov 2020-07-20 20:32:26 -07:00
parent 25d08c1a71
commit bc0215b647
No known key found for this signature in database
GPG Key ID: 2C1F9AEB371D2A28
3 changed files with 8 additions and 5 deletions

View File

@ -202,6 +202,10 @@
<div id="content">
<div class="p-2 p-sm-4">
<div class="row">
@if (this.TempData.HasStatusMessage())
{
<partial name="_StatusMessage" />
}
<div class="col-sm-4 col-lg-2 order-sm-last text-right mb-2">
<a class="js-cart btn btn-lg btn-outline-primary" href="#">
<i class="fa fa-shopping-basket"></i>&nbsp;

View File

@ -6,6 +6,10 @@
<div class="container d-flex h-100">
<div class="justify-content-center align-self-center text-center mx-auto px-2 py-3 w-100" style="margin: auto;">
@if (this.TempData.HasStatusMessage())
{
<partial name="_StatusMessage" />
}
<h1 class="mb-4">@Model.Title</h1>
@if (!string.IsNullOrEmpty(Model.Description))
{

View File

@ -80,11 +80,6 @@
</head>
<body class="h-100">
@if (this.TempData.HasStatusMessage())
{
<partial name="_StatusMessage" />
}
@RenderBody()
</body>
</html>