Made app name customizable
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@using Microsoft.AspNetCore.Localization
|
||||
@using OneForMe.Services
|
||||
@inject LocalizationService Localizer
|
||||
@inject IConfiguration Configuration
|
||||
@model DashboardViewModel
|
||||
|
||||
@{
|
||||
@@ -10,7 +11,7 @@
|
||||
<div class="container mt-5">
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-12">
|
||||
<h1>@Localizer.Get("Welcome")</h1>
|
||||
<h1>@Localizer["Welcome", Configuration["AppName"] ?? "OneForMe"]</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user