mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Fix missing @ in razor page for companies by countries. Fixes #15
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<Version>4.0.0.1577</Version>
|
<Version>4.0.0.1580</Version>
|
||||||
<Company>Canary Islands Computer Museum</Company>
|
<Company>Canary Islands Computer Museum</Company>
|
||||||
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
||||||
<Product>Canary Islands Computer Museum Website</Product>
|
<Product>Canary Islands Computer Museum Website</Product>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
{
|
{
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<b>@string.Format(L["Companies founded in {0}."], L[_countryName])</b>
|
<b>@string.Format(L["Companies founded in {0}."], L[_countryName])</b>
|
||||||
if (File.Exists(System.IO.Path.Combine(Host.WebRootPath, "assets/flags/countries", CountryId + ".svg")))
|
@if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", CountryId + ".svg")))
|
||||||
{
|
{
|
||||||
<picture>
|
<picture>
|
||||||
<source type="image/svg+xml" srcset="/assets/flags/countries/@(CountryId).svg">
|
<source type="image/svg+xml" srcset="/assets/flags/countries/@(CountryId).svg">
|
||||||
@@ -76,8 +76,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a href="/company/@company.Id">
|
<a href="/company/@company.Id">
|
||||||
@if (company.LastLogo != null &&
|
@if (company.LastLogo != null && File.Exists(Path.Combine(Host.WebRootPath, "assets/logos", company.LastLogo + ".svg")))
|
||||||
File.Exists(Path.Combine(Host.WebRootPath, "assets/logos", company.LastLogo + ".svg")))
|
|
||||||
{
|
{
|
||||||
<picture>
|
<picture>
|
||||||
<source type="image/svg+xml" srcset="/assets/logos/@(company.LastLogo).svg">
|
<source type="image/svg+xml" srcset="/assets/logos/@(company.LastLogo).svg">
|
||||||
|
|||||||
Reference in New Issue
Block a user