added none as an option for view mode; fixed bug in views link code