Skip to content

Commit

Permalink
Update the titles
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Jul 6, 2023
1 parent 13bde08 commit e84c324
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion EmployeePaycheck/Pages/Error.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page
@model ErrorModel
@{
ViewData["Title"] = "Error";
ViewData["Title"] = "Employee Paycheck Error";
}

<h1 class="text-danger">Error.</h1>
Expand Down
2 changes: 1 addition & 1 deletion EmployeePaycheck/Pages/Index.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page
@model IndexModel
@{
ViewData["Title"] = "Paycheck viewer";
ViewData["Title"] = "Employee Paycheck";
}

<div class="text-center">
Expand Down
1 change: 1 addition & 0 deletions EmployeePaycheck/Pages/Paycheck/PaycheckDetailsS3.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@using EmployeePaycheck.Pages.Shared
@model EmployeePaycheck.Pages.Paycheck.PaycheckDetailsS3Model
@{
ViewData["Title"] = "Employee Paycheck Data";
var nonce = HttpContext.GetNonce();
await Html.RenderPartialAsync("_PartialProcessNavigation", new PartialProcessNavigationModel(3));
}
Expand Down
2 changes: 1 addition & 1 deletion EmployeePaycheck/Pages/Paycheck/PaycheckEnterIdS1.cshtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@page
@using EmployeePaycheck.Pages.Shared
@model EmployeePaycheck.Pages.Paycheck.PaycheckEnterIdS1Model

@{
ViewData["Title"] = "Employee Paycheck - Enter ID";
var nonce = HttpContext.GetNonce();
await Html.RenderPartialAsync("_PartialProcessNavigation", new PartialProcessNavigationModel(1));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@using EmployeePaycheck.Pages.Shared
@model EmployeePaycheck.Pages.Paycheck.PaycheckVerifyEmployeeS2Model
@{
ViewData["Title"] = "Employee Paycheck - Verify Employee";
var nonce = HttpContext.GetNonce();
await Html.RenderPartialAsync("_PartialProcessNavigation", new PartialProcessNavigationModel(2));
}
Expand Down
2 changes: 1 addition & 1 deletion EmployeePaycheck/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Employee Paycheck</title>
<title>@ViewData["Title"]</title>

<meta property="og:type" content="website" />
<meta property="og:title" content="Employee Paycheck" />
Expand Down

0 comments on commit e84c324

Please sign in to comment.