]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/view
almost there. still missing ordering.
[maypole.git] / templates / factory / view
index 75d003f18d74be367fbe750c7c0a0582a12fa7d4..cf7822e5498298cdb27516bb58b57218340331b7 100644 (file)
@@ -34,7 +34,7 @@ from the C<column_names> method:
             <tr>
                 <td class="field">[% classmetadata.colnames.$col; %]</td>
                 <td>
-                    [% IF col == "url";  # Possibly too much magic.
+                    [% IF col == "url" && item.url;  # Possibly too much magic.
                         '<a href="'; item.url; '"> '; item.url; '</a>';
                     ELSE;
                         maybe_link_view(item.$col);