Add missing if statement in organization list row template.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Thu, 04 Jun 2009 20:38:32 +0200
changeset 2387 eb9fe68e2a78
parent 2385 174e946039e0
child 2389 4bfa82f58f4a
Add missing if statement in organization list row template.
app/soc/templates/soc/organization/list/row.html
--- a/app/soc/templates/soc/organization/list/row.html	Wed Jun 03 23:38:02 2009 +0530
+++ b/app/soc/templates/soc/organization/list/row.html	Thu Jun 04 20:38:32 2009 +0200
@@ -21,7 +21,9 @@
       <a onclick="redirect_to_ideas=false" href="{{ list.item.ideas }}">
       {% endif %}
         {{ list.item.ideas|urlizetrunc:35|removetags:"a" }}
+      {% if list.item.ideas %}
       </a>
+      {% endif %}
     </div>
   </td>
 </tr>