src/templates/annotationsListWidget.html
branchpopcorn-port
changeset 717 2dce6b9a04c4
parent 713 2857dc5aad3b
child 794 9dfb3a204a68
equal deleted inserted replaced
716:16d61d539cbf 717:2dce6b9a04c4
     3   <!-- ugly div because we want to have a double border -->
     3   <!-- ugly div because we want to have a double border -->
     4   <div class='Ldt-Annotation-DoubleBorder'>
     4   <div class='Ldt-Annotation-DoubleBorder'>
     5     <ul>
     5     <ul>
     6     {{#annotations}}
     6     {{#annotations}}
     7       <li>
     7       <li>
       
     8         {{! if the url is not present, it means that the annotation exists 
       
     9             in the current project }}
     8         {{^url}}
    10         {{^url}}
     9         <a href='#id={{id}}'>
    11         <a href='#id={{id}}'>
    10         {{/url}}
    12         {{/url}}
       
    13         {{! otherwise link to url }}
    11         {{#url}}
    14         {{#url}}
    12         <a href='{{url}}#id={{id}}'>
    15         <a href='{{url}}#id={{id}}'>
    13         {{/url}}
    16         {{/url}}
    14           <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
    17           <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
    15             <div class='Ldt-AnnotationsList-Caption'>
    18             <div class='Ldt-AnnotationsList-Caption'>