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