<metal:page define-macro="master">

    <tal:block define="_dummy python:request.response.setHeader('content-type','text/html;;charset=utf-8')" />

    <metal:block use-macro="here/global_defines/macros/defines" />

              <tal:comment replace="nothing"><!--metal:block define-slot="content">
                <div id="content"
                     metal:define-macro="content"
                     tal:define="show_border python:here.showEditableBorder(template_id=template_id, actions=actions );"
                     tal:attributes="class python: show_border and 'documentEditable' or ''">

                  <metal:ifborder tal:condition="show_border" >
                    <div metal:use-macro="here/global_contentviews/macros/content_views">
                      The content views (View, Edit, Properties, Workflow)
                    </div>

                    <div metal:use-macro="here/global_contentviews/macros/content_actions">
                      The content bar
                    </div>
                  </metal:ifborder--></tal:comment>

                  <div class="documentContent" id="region-content">

                    <a name="documentContent"></a>

                    <div metal:use-macro="here/global_statusmessage/macros/portal_message">
                      Portal status message
                    </div>

                    <metal:header metal:define-slot="header" tal:content="nothing">
                      Visual Header
                    </metal:header>

                    <metal:bodytext metal:define-slot="main" tal:content="nothing">
                      Page body text
                    </metal:bodytext>

                    <metal:sub metal:define-slot="sub">
                      <metal:discussion use-macro="here/viewThreadsAtBottom/macros/discussionView" />
                    </metal:sub>

                  </div>

                <tal:comment replace="nothing"><!--/div>

              </metal:block--></tal:comment>
</metal:page>

