<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      metal:use-macro="context/main_template/macros/master"
      i18n:domain="plone">
<head>
    <metal:block fill-slot="top_slot"
                 tal:define="dummy python:request.set('disable_border',1);
                             disable_column_one python:request.set('disable_plone.leftcolumn',1);
                             disable_column_two python:request.set('disable_plone.rightcolumn',1);" />
</head>

<body>
  <metal:body fill-slot="body">
    <article id="content">
      <h1 class="documentFirstHeading">Unsubscribe</h1>
      <div class="portalMessage error" tal:condition="view/error">
        <strong>Error</strong>
        ${view/error}
      </div>
      <div class="portalMessage info" tal:condition="view/unsubscribed">
        <strong>Info</strong>
        You have successfully unsubscribed.
      </div>
      <div class="portalMessage error"
           tal:condition="python: not view.error and not view.unsubscribed">
        <strong>Error</strong>
        Not unsubscribed
      </div>
    </article>
  </metal:body>
</body>
</html>