client/templates/ldtjson-bin/segmenttemplate.html
author rougeronj
Tue, 22 Sep 2015 15:14:10 +0200
changeset 543 5f7bebdcfc0d
parent 434 0d5998b32a7c
permissions -rw-r--r--
Improve the way we init the view. The data loader send a "loaded" event, hooked by the scene.py and initializing the backbone.history and the view. We don't use redraw_active in save-once and full-json, because it was making the view initialization dependent of these file which are externals. Small fix to hide the "set saved view" button when there is only one view.

<li class="Rk-Bin-Item" draggable="true"
    data-image="<%- Rkns.Utils.getFullURL(image) %>"
    data-uri="<%=ldt_platform%>ldtplatform/ldt/front/player/<%=mediaid%>/#id=<%=annotationid%>"
    data-title="<%-title%>" data-description="<%-description%>">

    <img class="Rk-Ldt-Annotation-Icon" src="<%=image%>" />
    <h4><%=htitle%></h4>
    <p><%=hdescription%></p>
    <p>Start: <%=start%>, End: <%=end%>, Duration: <%=duration%></p>
    <div class="Rk-Clear"></div>
</li>