<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    >

  <browser:page
      name="app-contacts"
      for="ploneintranet.layout.app.IApp"
      class=".app.View"
      template="templates/app.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="app-contacts-sidebar"
      for="ploneintranet.layout.app.IApp"
      template="templates/app-contacts-sidebar.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="emergency-services"
      for="ploneintranet.layout.app.IApp"
      class=".app.EmergencyServicesView"
      template="templates/emergency-services.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="panel-create-group"
      for="ploneintranet.layout.app.IApp"
      class=".panel_create_group.PanelAddGroup"
      template="templates/panel-create-group.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="contact-view"
      for="ploneintranet.contacts.content.contact.IContact"
      class=".contact.View"
      template="templates/contact-view.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="edit"
      for="ploneintranet.contacts.content.contact.IContact"
      class=".contact.View"
      template="templates/contact-edit.pt"
      permission="cmf.ModifyPortalContent"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="contact_macros"
      for="*"
      template="templates/content-macros.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="more-menu"
      for="ploneintranet.contacts.content.contact.IContact"
      class=".contact.View"
      template="templates/more-menu.pt"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

  <browser:page
      name="listing_view"
      for="ploneintranet.contacts.interfaces.IContactsContainer"
      class=".app.RedirectToApp"
      permission="zope2.View"
      layer="ploneintranet.layout.interfaces.INoBarcelonetaLayer"
      />

</configure>
