--- a/src/templates/annotationsListWidget.html Tue Apr 17 20:19:46 2012 +0200
+++ b/src/templates/annotationsListWidget.html Wed Apr 18 18:58:44 2012 +0200
@@ -3,8 +3,6 @@
<ul class='Ldt-AnnotationsList-ul'>
{{#annotations}}
<li id='Ldt-Annotation-li-{{id}}' class='Ldt-AnnotationsList-li Ldt-TraceMe'>
- {{^url}} <a href='#id={{id}}'> {{/url}}
- {{! otherwise link to url }}
{{#url}} <a href='{{url}}'> {{/url}}
<img class='Ldt-AnnotationsList-Thumbnail' src='{{thumbnail}}' />
</a>
@@ -14,16 +12,12 @@
<span class='Ldt-AnnotationsList-End'>{{end}}</span>
</div>
<div class='Ldt-AnnotationsList-Title'>
- {{! if the url is not present, it means that the annotation exists
- in the current project }}
+ {{#url}} <a href='{{url}}'> {{/url}}
{{title}}
+ </a>
</div>
<div class='Ldt-AnnotationsList-Description'>
- {{^url}} <a href='#id={{id}}'> {{/url}}
- {{! otherwise link to url }}
- {{#url}} <a href='{{url}}'> {{/url}}
- {{desc}}
- </a>
+ {{description}}
</div>
{{#tags.length}}
<ul class='Ldt-AnnotationsList-Tags'>