fix link x redirect

This commit is contained in:
zaccaria.majid
2023-07-19 10:57:32 +02:00
parent ba0e338253
commit f758dd3f1b
7 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>WebDoorCreator - Egalware</i>
<h4>Version: 0.9.2306.2911</h4>
<h4>Version: 0.9.2307.1910</h4>
<br /> Release note:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
0.9.2306.2911
0.9.2307.1910
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>0.9.2306.2911</version>
<version>0.9.2307.1910</version>
<url>http://nexus.steamware.net/repository/SWS/WDC/stable/WDC.UI.zip</url>
<changelog>http://nexus.steamware.net/repository/SWS/WDC/stable/ChangeLog.html</changelog>
<mandatory>false</mandatory>
@@ -12,4 +12,5 @@
}
<li class="nav-item"><a class="nav-link @ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext)" id="two-factor" asp-page="./TwoFactorAuthentication">Two-factor authentication</a></li>
<li class="nav-item"><a class="nav-link @ManageNavPages.PersonalDataNavClass(ViewContext)" id="personal-data" asp-page="./PersonalData">Personal data</a></li>
<li class="nav-item bg-dark rounded p-2"><a class="text-light text-decoration-none" id="personal-data" href="/"><i class="fa-solid fa-arrow-left-long"></i> &nbsp; Back to Main page</a></li>
</ul>
@@ -111,7 +111,7 @@
</li>
<li class="list-group-item">
<div class="">
<NavLink class="nav-link text-nowrap" href="/Identity/Account/Manage">
<NavLink class="nav-link text-nowrap" href=@($"{baseUrl}/Identity/Account/Manage")>
<button class="btn btn-sm btn-success w-100 fw-bold text-light text-decoration-none text-dark" style="">@translate("UI_06")</button>
</NavLink>
</div>
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using WebDoorCreator.Data.DbModels;
using WebDoorCreator.Data.Services;
using WebDoorCreator.UI.Data;
@@ -17,12 +18,19 @@ namespace WebDoorCreator.UI.Components.Gen
public EventCallback<int> E_UserCurrCompany { get; set; }
[Inject]
protected IConfiguration configuration { get; set; } = null!;
public EventCallback<string> E_UserId { get; set; }
public EventCallback<string> E_UserRole { get; set; }
public EventCallback<Dictionary<string, Dictionary<string, string>>> E_VocLemmas { get; set; }
public List<string> listRecord { get; set; } = new List<string>();
protected string baseUrl
{
get => configuration.GetValue<string>("RuntimeOpt:BaseUrl");
}
public Dictionary<string, Dictionary<string, string>>? listVocLemmas
{
get
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>0.9.2306.2911</Version>
<Version>0.9.2307.1910</Version>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-WebDoorCreator.UI-dfe95fed-1398-4144-bd43-8b3a765d6608</UserSecretsId>
</PropertyGroup>