diff --git a/Marechai/Marechai.csproj b/Marechai/Marechai.csproj index 6335488f..1376c249 100644 --- a/Marechai/Marechai.csproj +++ b/Marechai/Marechai.csproj @@ -2,7 +2,7 @@ netcoreapp3.1 - 3.0.99.1547 + 3.0.99.1551 Canary Islands Computer Museum Copyright © 2003-2020 Natalia Portillo Canary Islands Computer Museum Website diff --git a/Marechai/Pages/Companies/Index.razor b/Marechai/Pages/Companies/Index.razor index 9ea7718e..80bec891 100644 --- a/Marechai/Pages/Companies/Index.razor +++ b/Marechai/Pages/Companies/Index.razor @@ -39,60 +39,67 @@ return; } -

- @if (CountryId.HasValue) - { +@if (CountryId.HasValue) +{ +

@string.Format(L["Companies founded in {0}."], L[_countryName]) if (File.Exists(System.IO.Path.Combine(Host.WebRootPath, "assets/flags/countries", CountryId + ".svg"))) { - - - - - + + + + + } -
- } +

+} - @if (_character.HasValue) - { +@if (_character.HasValue) +{ +

@string.Format(L["Companies which name starts with {0}."], _character) -
- } +

+} - @if (_companies.Any()) - { -

- @string.Format(L["{0} companies found in the database."], _companies.Count()) -
- @foreach (var company in _companies) - { - - @if (company.LastLogo != null && - File.Exists(Path.Combine(Host.WebRootPath, "assets/logos", company.LastLogo + ".svg"))) - { - - - + @string.Format(L["{0} companies found in the database."], _companies.Count()) +


+ + @foreach (var company in _companies) + { + + + + + } +
+ + @if (company.LastLogo != null && + File.Exists(Path.Combine(Host.WebRootPath, "assets/logos", company.LastLogo + ".svg"))) + { + + + - - - } - @company.Name - -
- } -

- } - else - { -

@L["There are no companies in the database."]

- } -

+ + + } + +
+ @company.Name +
+ +} +else +{ +

@L["There are no companies in the database."]

+}