feat(Main.cshtml): Bindung des Titels mit Appettigns über MainViewModel
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@{
|
||||
@model MainViewModel
|
||||
var nonce = _accessor.HttpContext?.Items["csp-nonce"] as string;
|
||||
var cImg = _cImgOpt.Value;
|
||||
ViewData["Title"] = _localizer["Home"];
|
||||
@@ -13,7 +14,10 @@
|
||||
<div class="icon mt-4 mb-1">
|
||||
<img class="@cImg["App"].GetClassIn("Main")" src="@cImg["App"].Src">
|
||||
</div>
|
||||
<h1>signFlow</h1>
|
||||
@if(Model.Title is string title)
|
||||
{
|
||||
<h1>@title</h1>
|
||||
}
|
||||
</header>
|
||||
<section class="text-center">
|
||||
<div class="alert alert-light" role="alert">
|
||||
|
||||
Reference in New Issue
Block a user