]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/view
More fooling with links.
[maypole.git] / templates / factory / view
index 861e8761184e6dc33911aa2d1fe090cbeb81e24b..509208eddb0a2d22e6afe17886afa69efdee4c7a 100644 (file)
 
 <TR>
     <TD class="field"> [% classmetadata.colnames.$col; %] </TD>
-    <TD> [% maybe_link_view(item.$col) %] </TD>
+    <TD> [%
+
+    IF col == "url";  # Possibly too much magic.
+                "<A HREF="; item.url; "> "; item.url; "</A>";
+    ELSE;
+    maybe_link_view(item.$col); END;
+    %] </TD>
 </TR>
 [% END; %]
 </TABLE>