fixes template bug. popcorn-port
authorhamidouk
Thu, 26 Jan 2012 12:50:20 +0100
branchpopcorn-port
changeset 717 2dce6b9a04c4
parent 716 16d61d539cbf
child 718 c6660cd7bfb3
fixes template bug.
src/templates/annotationsListWidget.html
--- a/src/templates/annotationsListWidget.html	Thu Jan 26 11:11:00 2012 +0100
+++ b/src/templates/annotationsListWidget.html	Thu Jan 26 12:50:20 2012 +0100
@@ -5,9 +5,12 @@
     <ul>
     {{#annotations}}
       <li>
+        {{! if the url is not present, it means that the annotation exists 
+            in the current project }}
         {{^url}}
         <a href='#id={{id}}'>
         {{/url}}
+        {{! otherwise link to url }}
         {{#url}}
         <a href='{{url}}#id={{id}}'>
         {{/url}}