equal
deleted
inserted
replaced
2 |
2 |
3 Rkns.ResourceList.Bin = Rkns.Utils.inherit(Rkns._BaseBin); |
3 Rkns.ResourceList.Bin = Rkns.Utils.inherit(Rkns._BaseBin); |
4 |
4 |
5 Rkns.ResourceList.Bin.prototype.resultTemplate = Rkns._.template( |
5 Rkns.ResourceList.Bin.prototype.resultTemplate = Rkns._.template( |
6 '<li class="Rk-Bin-Item Rk-ResourceList-Item" draggable="true" data-uri="<%-url%>" ' |
6 '<li class="Rk-Bin-Item Rk-ResourceList-Item" draggable="true" data-uri="<%-url%>" ' |
7 + 'data-title="<%-title%>" data-description="<%-description%>" data-image="<%-image%>">' |
7 + 'data-title="<%-title%>" data-description="<%-description%>" data-image="<%- Rkns.Utils.getFullURL(image) %>">' |
8 + '<% if (image) { %><img class="Rk-ResourceList-Image" src="<%-image%>"><% } %></div><h4 class="Rk-ResourceList-Title">' |
8 + '<% if (image) { %><img class="Rk-ResourceList-Image" src="<%-image%>"><% } %></div><h4 class="Rk-ResourceList-Title">' |
9 + '<% if (url) { %><a href="<%-url%>" target="_blank"><% } %><%=htitle%><% if (url) { %></a><% } %></h4>' |
9 + '<% if (url) { %><a href="<%-url%>" target="_blank"><% } %><%=htitle%><% if (url) { %></a><% } %></h4>' |
10 + '<% if (description) { %><p class="Rk-ResourceList-Description"><%=hdescription%></p><% } %><% if (image) { %><div style="clear: both;"></div><% } %></li>' |
10 + '<% if (description) { %><p class="Rk-ResourceList-Description"><%=hdescription%></p><% } %><% if (image) { %><div style="clear: both;"></div><% } %></li>' |
11 ); |
11 ); |
12 |
12 |