|
585
|
1 |
{{! template for the annotation list widget }} |
|
|
2 |
<div class='Ldt-AnnotationsListWidget'> |
|
833
|
3 |
<ul class='Ldt-AnnotationsList-ul'> |
|
|
4 |
{{#annotations}} |
|
|
5 |
<li id='Ldt-Annotation-li-{{id}}' class='Ldt-AnnotationsList-li Ldt-TraceMe'> |
|
|
6 |
<img class='Ldt-AnnotationsList-Thumbnail' src='{{thumbnail}}' /> |
|
|
7 |
<div class='Ldt-AnnotationsList-Duration'> |
|
|
8 |
<span class='Ldt-AnnotationsList-Begin'>{{begin}}</span> |
|
|
9 |
<span class='Ldt-AnnotationsList-TcSeparator'>-</span> |
|
|
10 |
<span class='Ldt-AnnotationsList-End'>{{end}}</span> |
|
|
11 |
</div> |
|
|
12 |
<div class='Ldt-AnnotationsList-Title'> |
|
|
13 |
{{! if the url is not present, it means that the annotation exists |
|
717
|
14 |
in the current project }} |
|
833
|
15 |
{{^url}} <a href='#id={{id}}'> {{/url}} |
|
|
16 |
{{! otherwise link to url }} |
|
|
17 |
{{#url}} <a href='{{url}}#id={{id}}'> {{/url}} |
|
|
18 |
{{title}} |
|
|
19 |
</a> |
|
|
20 |
</div> |
|
|
21 |
<div class='Ldt-AnnotationsList-Description'> |
|
|
22 |
{{desc}} |
|
588
|
23 |
</div> |
|
833
|
24 |
{{#tags.length}} |
|
|
25 |
<ul class='Ldt-AnnotationsList-Tags'> |
|
|
26 |
{{#tags}} |
|
|
27 |
<li class='Ldt-AnnotationsList-Tag-Li'> |
|
|
28 |
<div class='Ldt-AnnotationsList-Tag-Div'>{{.}}</div> |
|
|
29 |
</li> |
|
|
30 |
{{/tags}} |
|
|
31 |
</ul> |
|
|
32 |
{{/tags.length}} |
|
|
33 |
</li> |
|
|
34 |
{{/annotations}} |
|
585
|
35 |
</ul> |
|
|
36 |
</div> |