diff -r 01f66ed90e32 -r 87569ad0ff53 client/js/ldtjson-bin.js
--- a/client/js/ldtjson-bin.js Wed Feb 13 13:41:19 2013 +0100
+++ b/client/js/ldtjson-bin.js Thu Feb 14 01:20:14 2013 +0100
@@ -3,8 +3,8 @@
Rkns.Ldt.ProjectBin = Rkns.Utils.inherit(Rkns._BaseBin);
Rkns.Ldt.ProjectBin.prototype.tagTemplate = Rkns._.template(
- '
'
- + '
<%=htitle%>
'
+ ''
+ + '
<%=htitle%>
'
);
Rkns.Ldt.ProjectBin.prototype.annotationTemplate = Rkns._.template(
@@ -63,7 +63,8 @@
ldt_platform: _this.ldt_platform,
title: _title,
htitle: highlight(_title),
- encodedtitle : encodeURIComponent(_title)
+ encodedtitle : encodeURIComponent(_title),
+ static_url: _this.renkan.static_url
})
});
_html += 'Annotations
';
@@ -78,7 +79,7 @@
_img = (
(_annotation.content && _annotation.content.img && _annotation.content.img.src)
? _annotation.content.img.src
- : ( _duration ? "img/ldt-segment.png" : "img/ldt-point.png" )
+ : ( _duration ? _this.renkan.static_url+"img/ldt-segment.png" : _this.renkan.static_url+"img/ldt-point.png" )
);
_html += _this.annotationTemplate({
ldt_platform: _this.ldt_platform,
@@ -91,7 +92,8 @@
duration: convertTC(_duration),
mediaid: _annotation.media,
annotationid: _annotation.id,
- image: _img
+ image: _img,
+ static_url: _this.renkan.static_url
});
});