Hiding action link in admin screen

Topics: Customizing Orchard
Feb 4 at 2:28 PM
Edited Feb 4 at 2:29 PM
I need to hide the Clone link for all items of a certain content type, Products, which we've modified in such a way that the Orchard clone action doesn't work. I've tried modifying the ProductSummaryAdmin.cshtml by adding this:
using (Script.Foot()){
    <script type="text/javascript">   
        //<![CDATA[

        $( "a" ).each(function( index ) {
            if (this.Text() == "Clone")
                $( this ).visible = false;
        });
        //]]>
    </script>
}
but that doesn't do anything and I don't think it is even being executed. Is there any way to do this other than writing our own controller and do all the display ourselves?