Skip to content
Permalink
Browse files

Get rid completely of the plone.skip_links viewlet because it already…

… doesn't worked OOTB since always.
  • Loading branch information...
sneridagh authored and bloodbare committed Jul 14, 2015
1 parent 43c74e4 commit 921b3b123f4cba9f3e76788d6124b044b63d1cc2
Showing with 1 addition and 18 deletions.
  1. +1 −10 plone/app/layout/viewlets/common.py
  2. +0 −8 plone/app/layout/viewlets/configure.zcml
@@ -147,15 +147,6 @@ def update(self):
self.enabled = toc


class SkipLinksViewlet(ViewletBase):
index = ViewPageTemplateFile('skip_links.pt')

def update(self):
context_state = getMultiAdapter((self.context, self.request),
name=u'plone_context_state')
self.current_page_url = context_state.current_page_url


class SiteActionsViewlet(ViewletBase):
index = ViewPageTemplateFile('site_actions.pt')

@@ -471,4 +462,4 @@ def render_footer_portlets(self):
portlet_manager = getMultiAdapter(
(self.context, self.request, self.__parent__), name='plone.footerportlets')
portlet_manager.update()
return portlet_manager.render()
return portlet_manager.render()
@@ -152,14 +152,6 @@
permission="zope2.View"
/>

<!-- The skip links for accessibility -->
<browser:viewlet
name="plone.skip_links"
manager=".interfaces.IPortalHeader"
class=".common.SkipLinksViewlet"
permission="zope2.View"
/>

<!-- The site actions -->
<browser:viewlet
name="plone.site_actions"

0 comments on commit 921b3b1

Please sign in to comment.
You can’t perform that action at this time.