1 | @model PostgreSqlDotnetCore.Models.VetCenterWithCity
|
---|
2 |
|
---|
3 | @{
|
---|
4 | ViewBag.Title = "Details";
|
---|
5 | }
|
---|
6 |
|
---|
7 | <h2>Details for @Model.vet_center_name</h2>
|
---|
8 |
|
---|
9 | <table class="table">
|
---|
10 | <tr>
|
---|
11 | <th>@Html.DisplayNameFor(model => model.vet_center_name)</th>
|
---|
12 | <td>@Html.DisplayFor(model => model.vet_center_name)</td>
|
---|
13 | </tr>
|
---|
14 | <tr>
|
---|
15 | <th>@Html.DisplayNameFor(model => model.adress)</th>
|
---|
16 | <td>@Html.DisplayFor(model => model.adress)</td>
|
---|
17 | </tr>
|
---|
18 | <tr>
|
---|
19 | <th>@Html.DisplayNameFor(model => model.workinghours)</th>
|
---|
20 | <td>@Html.DisplayFor(model => model.workinghours)</td>
|
---|
21 | </tr>
|
---|
22 | <tr>
|
---|
23 | <th>@Html.DisplayNameFor(model => model.description)</th>
|
---|
24 | <td>@Html.DisplayFor(model => model.description)</td>
|
---|
25 | </tr>
|
---|
26 | <tr>
|
---|
27 | <th>@Html.DisplayNameFor(model => model.phonenumber)</th>
|
---|
28 | <td>@Html.DisplayFor(model => model.phonenumber)</td>
|
---|
29 | </tr>
|
---|
30 | <tr>
|
---|
31 | <th>@Html.DisplayNameFor(model => model.latitude)</th>
|
---|
32 | <td>@Html.DisplayFor(model => model.latitude)</td>
|
---|
33 | </tr>
|
---|
34 | <tr>
|
---|
35 | <th>@Html.DisplayNameFor(model => model.longitude)</th>
|
---|
36 | <td>@Html.DisplayFor(model => model.longitude)</td>
|
---|
37 | </tr>
|
---|
38 | <tr>
|
---|
39 | <th>@Html.DisplayNameFor(model => model.city_name)</th>
|
---|
40 | <td>@Html.DisplayFor(model => model.city_name)</td>
|
---|
41 | </tr>
|
---|
42 | </table>
|
---|
43 |
|
---|
44 | @if (ViewBag.hasAccess != null && ViewBag.hasAccess == true)
|
---|
45 | {
|
---|
46 | <p>
|
---|
47 | @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
|
---|
48 | @Html.ActionLink("Delete", "Delete", new { id = Model.id })
|
---|
49 | </p>
|
---|
50 | }
|
---|
51 |
|
---|
52 | <p>
|
---|
53 | @Html.ActionLink("Back to List", "Index")
|
---|
54 | </p>
|
---|