Skip to content

Commit

Permalink
Fix BS4 to BS5 class names
Browse files Browse the repository at this point in the history
  • Loading branch information
markjprice committed Aug 11, 2022
1 parent e7d81b8 commit 18fd3d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions vs4win/PracticalApps/Northwind.Mvc/Views/Home/Services.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<p>
@if (products is null)
{
<span class="badge badge-info">No products found.</span>
<span class="badge bg-info">No products found.</span>
}
else
{
@foreach (Product p in products)
{
<span class="badge badge-info">
<span class="badge bg-info">
@p.ProductId
@p.ProductName
@(p.UnitPrice is null ? "" : p.UnitPrice.Value.ToString("c"))
Expand All @@ -45,7 +45,7 @@
<p>
@foreach (Product p in seafoodProducts)
{
<span class="badge badge-success">
<span class="badge bg-success">
@p.ProductId
@p.ProductName
-
Expand Down
6 changes: 3 additions & 3 deletions vscode/PracticalApps/Northwind.Mvc/Views/Home/Services.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<p>
@if (products is null)
{
<span class="badge badge-info">No products found.</span>
<span class="badge bg-info">No products found.</span>
}
else
{
@foreach (Product p in products)
{
<span class="badge badge-info">
<span class="badge bg-info">
@p.ProductId
@p.ProductName
@(p.UnitPrice is null ? "" : p.UnitPrice.Value.ToString("c"))
Expand All @@ -45,7 +45,7 @@
<p>
@foreach (Product p in seafoodProducts)
{
<span class="badge badge-success">
<span class="badge bg-success">
@p.ProductId
@p.ProductName
-
Expand Down

0 comments on commit 18fd3d5

Please sign in to comment.