equal
deleted
inserted
replaced
72 |
72 |
73 def content(self, w): |
73 def content(self, w): |
74 # FIXME Deprecated code ? |
74 # FIXME Deprecated code ? |
75 msg = self._cw._('you have been logged out') |
75 msg = self._cw._('you have been logged out') |
76 w(u'<h2>%s</h2>\n' % msg) |
76 w(u'<h2>%s</h2>\n' % msg) |
77 if self._cw.vreg.config['anonymous-user']: |
77 if self._cw.vreg.config.anonymous_user()[0]: |
78 indexurl = self._cw.build_url('view', vid='index', __message=msg) |
78 indexurl = self._cw.build_url('view', vid='index', __message=msg) |
79 w(u'<p><a href="%s">%s</a><p>' % ( |
79 w(u'<p><a href="%s">%s</a><p>' % ( |
80 xml_escape(indexurl), |
80 xml_escape(indexurl), |
81 self._cw._('go back to the index page'))) |
81 self._cw._('go back to the index page'))) |
82 |
82 |