diff --git a/Views/Chiamate/Index.cshtml b/Views/Chiamate/Index.cshtml index a5c8d16..5f26dae 100644 --- a/Views/Chiamate/Index.cshtml +++ b/Views/Chiamate/Index.cshtml @@ -4,7 +4,7 @@ @using X.PagedList; @{ - ViewData["Title"] = "Index"; + ViewData["Title"] = "Chiamate"; }

Chiamate

@@ -31,7 +31,7 @@ Stato R IC - C + Buono @@ -62,8 +62,23 @@ @Html.DisplayFor(modelItem => item.chstato) - @Html.DisplayFor(modelItem => item.descStato) @Html.DisplayFor(modelItem => item.rif) @Html.DisplayFor(modelItem => item.ic) - @Html.DisplayFor(modelItem => item.ser_buono_chiu) - + + @{ + + string link = string.Empty; + + + if (!string.IsNullOrEmpty(item.ser_buono_chiu)) + { + link = "http://testapi.poloinformatico.it:9001/VIRTU/"; + link = link + item.ser_buono_chiu + ".jpg"; + @item.ser_buono_chiu + } + else + { + + } + } @Html.ActionLink("Modifica", "Edit", new { id=item.chserial }) | @Html.ActionLink("Dettaglio", "Details", new { id=item.chserial }) |