diff --git a/cicm_web/Views/Computer/View.cshtml b/cicm_web/Views/Computer/View.cshtml index c253cf24..aa9b1115 100644 --- a/cicm_web/Views/Computer/View.cshtml +++ b/cicm_web/Views/Computer/View.cshtml @@ -34,23 +34,27 @@ @using System.IO @model Computer -@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.Id + ".gif"))) -{ - -} - -@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.Id + ".jpg"))) -{ - -} - -@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.Id + ".png"))) -{ - -} +

+ @if(Model.Company.LastLogo != null && File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.LastLogo.Guid + ".svg"))) + { + + + + + + } +

@if(Model.Year == 1000) {