get view name from list control omit new condition script

ggg
Giga Guru

I need to omit the NEW button from a List based on the view.

In one view I want the NEW button to display, in the other I do not.

in a Client Script you can use getView(); that does not work in this condition script.