Add link to company view to search other companies from same country.

This commit is contained in:
2018-04-20 19:20:54 +01:00
parent 227e9cd52c
commit f61ae3f995

View File

@@ -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>