<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
            xmlns:tal="http://xml.zope.org/namespaces/tal"
            xmlns:metal="http://xml.zope.org/namespaces/metal"
            xmlns:i18n="http://xml.zope.org/namespaces/i18n"
            lang="en"
            metal:use-macro="context/main_template/macros/master"
            i18n:domain="ploneintranet">

    <body class="view-secure">
        <metal:statusmessage fill-slot="statusmessage" tal:define="suppress_message python:request.get('suppress_message', False)">
          <metal:macro tal:condition="not:suppress_message" use-macro="context/main_template/macros/statusmessage" />
        </metal:statusmessage>

        <metal:content fill-slot="content"
                       tal:define="workspace view/workspace; workspace_url workspace/absolute_url;
                                   is_archived workspace/archival_date;
                                   archived_class python:'workspace-state-archived' if is_archived else ''">
        <div  id="content" class="application page-type-workspace workspace-type-workspace ${archived_class}">


            <h1 id="workspace-name">
                <!-- Next link is to lead to landing state of current workspace! -->
                <a href="{{page.url}}" tal:attributes="href workspace_url" tal:content="workspace/Title">{{ page.workspace_name }}</a>
            </h1>


        </div>
        </metal:content>
    </body>
</html>
