show png pictures below each export or items
[MojoFacets.git] / templates / data / export.html.ep
index 75eccd9..05812a2 100644 (file)
@@ -8,7 +8,11 @@
 <a target="<%= $path %>" href="/export/<%= $path %>"><%= $path %></a>
 </tt>
 <%= -s $e %> bytes
+%  if ( -e $e . '.png' ) {
+<br><img src="/export/<%= $path %>.png">
+%  } elsif ( $path =~ m/filter\./ ) {
 <a href="?import=<%= $path %>">import</a>
+%  }
 % }
 </ul>