Skip to content

Commit eefc22a

Browse files
committed
fix page titles
1 parent eda853e commit eefc22a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Views/Home/EditForm.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<script src="~/js/creatorjs.js" asp-append-version="true"></script>
1313
<script src="~/js/codegenerator.js" asp-append-version="true"></script>
1414
@{
15-
ViewData["Title"] = "Edit Form: " + Model.FormName;
15+
ViewData["Title"] = "Edit Form as " + (Model.IsAdmin ? "Administrator: " : "Content Manager: ") + Model.FormName;
1616
}
1717
<div id="surveyCreatorContainer" style="height: 100vh;"></div>
1818
<script>

Views/Home/FormResponse.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script src="~/js/form_api.js" asp-append-version="true"></script>
88
<script src="~/js/surveyjs.js" asp-append-version="true"></script>
99
@{
10-
ViewData["Title"] = "Fill Form: " + Model.FormName;
10+
ViewData["Title"] = "Fill Out a Form: " + Model.FormName;
1111
}
1212
<div id="surveyElement" style="display: inline-block; width: 100%;">
1313
<div id="idLoading">Loading...</div>

Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>@ViewData["Title"] - Generate From from Model and render it by using SurveyJS Library</title>
6+
<title>@ViewData["Title"] | Generate From from Model and render it by using SurveyJS Library</title>
77
<link rel="stylesheet" href="/css/site.css" />
88
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Raleway:wght@400;500;600;700&display=swap" rel="stylesheet">
99
</head>

0 commit comments

Comments
 (0)