show import link only for filters
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Jun 2010 20:46:43 +0000 (22:46 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Jun 2010 20:46:43 +0000 (22:46 +0200)
templates/data/export.html.ep

index 90fa954..adb628f 100644 (file)
@@ -10,7 +10,7 @@
 <%= -s $e %> bytes
 %  if ( $path =~ m/\.png$/ ) {
 <img src="/export/<%= $path %>">
-%  } else {
+%  } elsif ( $path =~ m/filter\./ ) {
 <a href="?import=<%= $path %>">import</a>
 %  }
 % }