Make delete links non-printing.
authorIain Patterson <me@iain.cx>
Mon, 13 May 2013 08:35:56 +0000 (04:35 -0400)
committerIain Patterson <me@iain.cx>
Mon, 13 May 2013 12:48:05 +0000 (08:48 -0400)
Delete links don't need to be shown in hardcopies.

propel/build/classes/ReadifoodObject.php

index 17efec8..9993239 100644 (file)
@@ -23,7 +23,7 @@
     }
 
     function getDeleteLink() {
-      return $this->getActionLink("delete", "Delete", "delete");
+      return $this->getActionLink("delete", "Delete", array("delete", "noprint"));
     }
   }