fixed a bug in a template. popcorn-port
authorhamidouk
Wed, 25 Jan 2012 17:27:21 +0100
branchpopcorn-port
changeset 713 2857dc5aad3b
parent 712 d5da7aca0f13
child 714 9056928c46de
fixed a bug in a template.
src/templates/annotationsListWidget.html
--- a/src/templates/annotationsListWidget.html	Wed Jan 25 17:27:09 2012 +0100
+++ b/src/templates/annotationsListWidget.html	Wed Jan 25 17:27:21 2012 +0100
@@ -8,8 +8,9 @@
         {{^url}}
         <a href='#id={{id}}'>
         {{/url}}
-        {{url}}
+        {{#url}}
         <a href='{{url}}#id={{id}}'>
+        {{/url}}
           <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
             <div class='Ldt-AnnotationsList-Caption'>
               <img src='http://i.imgur.com/aoUlC.jpg'></img>