File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Website/OCM.Web/Views/Shared Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2929 <link href =" ~/css/site.css" rel =" stylesheet" />
3030
3131 <!-- fav and touch icons -->
32- <link rel =" shortcut icon" href =" /favicon.ico " >
32+ <link rel =" shortcut icon" href =" /images/AppIcon_36x36.png " >
3333 <link href =" https://fonts.googleapis.com/css?family=Oswald:300|Oxygen:300" rel =" stylesheet" type =" text/css" >
3434 <link rel =" stylesheet" href =" //maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" >
3535
Original file line number Diff line number Diff line change 1010
1111 @foreach ( var item in Model .Where (i => i .IsEnabled && i .ItemURL != null ))
1212 {
13+ var imgUrl = string .IsNullOrWhiteSpace (item .ItemThumbnailURL ) ? item .ItemURL : item .ItemThumbnailURL .Replace (" thmb" , " medi" );
14+
1315 <div class =" col-sm-6 col-md-3" >
1416 <div class =" img-thumbnail" >
1517
16- <img class =" img-fluid" src =" @(item.ItemThumbnailURL!=null?item.ItemThumbnailURL.Replace( " thmb " , " medi " ):item.ItemURL )" onclick =" showLightBox('@item.ItemURL');" />
18+ <img class =" img-fluid" src =" @(imgUrl )" onclick =" showLightBox('@item.ItemURL');" />
1719
1820 <blockquote >
1921 <p >@Html.DisplayFor(modelItem => item .Comment )</p >
You can’t perform that action at this time.
0 commit comments