fix workflow graph views and tabs for the new wf system, remove useless view and action (actually useless since introduction of tabbed entity type view
# -*- coding: utf-8 -*-""":organization: Logilab:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses"""importosos.environ["DJANGO_SETTINGS_MODULE"]='data.settings'fromdjangoimporttemplatedefencode_output(self,output):# Check type so that we don't run str() on a Unicode objectifnotisinstance(output,basestring):returnunicode(output)returnoutputtemplate.VariableNode.encode_output=encode_outputfromcubicweb.common.viewimportStartupViewINDEX_TEMPLATE=template.Template(u''' <h1>hellô {{ user.login }}</h1>''')classMyIndex(StartupView):id='index'defcall(self):ctx=template.Context({'user':self.req.user})returnINDEX_TEMPLATE.render(ctx)