equal
deleted
inserted
replaced
45 |
45 |
46 IriSP.Widgets.AnnotationsList.prototype.template = |
46 IriSP.Widgets.AnnotationsList.prototype.template = |
47 '<div class="Ldt-AnnotationsListWidget">' |
47 '<div class="Ldt-AnnotationsListWidget">' |
48 + '<ul class="Ldt-AnnotationsList-ul">' |
48 + '<ul class="Ldt-AnnotationsList-ul">' |
49 + '{{#annotations}}' |
49 + '{{#annotations}}' |
50 + '<li class="Ldt-AnnotationsList-li Ldt-TraceMe" trace-info="annotation-id:{{id}}" style="{{specific_style}}">' |
50 + '<li class="Ldt-AnnotationsList-li Ldt-TraceMe" trace-info="annotation-id:{{id}}, media-id:{{media_id}}" style="{{specific_style}}">' |
51 + '<div class="Ldt-AnnotationsList-ThumbContainer">' |
51 + '<div class="Ldt-AnnotationsList-ThumbContainer">' |
52 + '<a href="{{url}}">' |
52 + '<a href="{{url}}">' |
53 + '<img class="Ldt-AnnotationsList-Thumbnail" src="{{thumbnail}}" />' |
53 + '<img class="Ldt-AnnotationsList-Thumbnail" src="{{thumbnail}}" />' |
54 + '</a>' |
54 + '</a>' |
55 + '</div>' |
55 + '</div>' |
204 _bgcolor = _polemic.background_color; |
204 _bgcolor = _polemic.background_color; |
205 } |
205 } |
206 }); |
206 }); |
207 var _res = { |
207 var _res = { |
208 id : _annotation.id, |
208 id : _annotation.id, |
|
209 media_id : _annotation.getMedia().id, |
209 title : _title, |
210 title : _title, |
210 description : _description, |
211 description : _description, |
211 begin : _annotation.begin.toString(), |
212 begin : _annotation.begin.toString(), |
212 end : _annotation.end.toString(), |
213 end : _annotation.end.toString(), |
213 thumbnail : typeof _annotation.thumbnail !== "undefined" && _annotation.thumbnail ? _annotation.thumbnail : _this.default_thumbnail, |
214 thumbnail : typeof _annotation.thumbnail !== "undefined" && _annotation.thumbnail ? _annotation.thumbnail : _this.default_thumbnail, |