@using ca.AgNition.HyCropScout.Common @model List @**@ @Html.Raw(string.Format("
", (Model != null && Model.Count > 0) ? "" : "none")) @if (Model != null && Model.Count > 0) { @Html.Raw("
")
foreach (PhotoListItem photo in Model) { if (!photo.Deleted) { String Id = "" + photo.Id; String photoDivId = "photoDivId_" + Id; String fancBoxAnchorId = "famcyBox" + "_" + Id; String editPhotoId = "editPhoto" + "_" + Id; String clientVisibilityPhotoId = "clientVisibility" + "_" + Id; String deletePhotoId = "deletePhoto" + "_" + Id; String inputId = "Photos_photo_Id" + "_" + Id; String appendedText = " " + photo.Caption + "
" + "Male Lot #: " + photo.MaleLotNumber + " Female Lot #: " + photo.FemaleLotNumber + "
" + "Male Line #: " + photo.MaleLineCode + " Female Line #: " + photo.FemaleLineCode; String notVisibleToClientConstant = "ncv"; @Html.Raw(string.Format("
", photoDivId))
@if (!photo.ClientVisible) { @Html.Raw(string.Format("", inputId, Id + "&" + notVisibleToClientConstant)) } else { @Html.Raw(string.Format("", inputId, Id)) } @Html.Raw(string.Format("", fancBoxAnchorId, @photo.FilePath)) @Html.Raw(string.Format("", photo.Id, @photo.FilePath)) @Html.Raw("")
@Html.Raw(string.Format("Caption:{0}", appendedText));
@Html.Raw("
") } } @Html.Raw("
") } @Html.Raw("
")