git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@70 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-02-29 17:09:30 +00:00
parent 342b485088
commit 3732d06a0c
5 changed files with 5 additions and 74 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/category/categoryViewT
});*/
html = this.itemtemplate({
items: this.collection.toJSON(),
images: Images
myManifest: myManifest
});
$(html).appendTo($ul).enhanceWithin();
@@ -6,7 +6,7 @@
<% if(item.firstImage === ""){ %>
<img class="thmbImg emptyItemList">
<%}else{%>
<img class="thmbImg" src='<%=data.images.getThumb(item.firstImage)%>'>
<img class="thmbImg" src='<%=myManifest.Settings.DefaultURL%>/api/photo/thumbnail/<%=item.firstImage%>'>
<%}%>
<div class='ricettaTitolo'><%= unescape(item.titolo) %></div>
<div class='ricettaAutore'><%= unescape(item.autore) %></div>