client/templates/list-bin.html
changeset 426 05ed0d95a511
child 434 0d5998b32a7c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/list-bin.html	Fri Apr 24 11:13:16 2015 +0200
@@ -0,0 +1,25 @@
+<li class="Rk-Bin-Item Rk-ResourceList-Item" draggable="true"
+	data-uri="<%-url%>" data-title="<%-title%>"
+	data-description="<%-description%>"
+	<% if (image) { %>
+		data-image="<%- Rkns.Utils.getFullURL(image) %>"
+	<% } else { %>
+		data-image=""
+	<% } %>
+><% if (image) { %>
+	<img class="Rk-ResourceList-Image" src="<%-image%>" />
+<% } %>
+<h4 class="Rk-ResourceList-Title">
+	<% if (url) { %>
+		<a href="<%-url%>" target="_blank">
+	<% } %>
+	<%=htitle%>
+	<% if (url) { %></a><% } %>
+	</h4> 
+	<% if (description) { %>
+		<p class="Rk-ResourceList-Description"><%=hdescription%></p>
+	<% } %>
+	<% if (image) { %>
+		<div style="clear: both;"></div>
+	<% } %>
+</li>
\ No newline at end of file