mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add link to company view to search other companies from same country.
This commit is contained in:
@@ -140,6 +140,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Country</th>
|
<th>Country</th>
|
||||||
<td>
|
<td>
|
||||||
|
<a asp-action="ByCountry" asp-controller="Company" asp-route-id="@Model.Country.Id">
|
||||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/flags/countries", Model.Country.Id + ".svg")))
|
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/flags/countries", Model.Country.Id + ".svg")))
|
||||||
{
|
{
|
||||||
<picture>
|
<picture>
|
||||||
@@ -158,6 +159,7 @@
|
|||||||
</picture>
|
</picture>
|
||||||
}
|
}
|
||||||
@Model.Country.Name
|
@Model.Country.Name
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user