<div class="workspace-header"
     tal:define="
       freeze_view nocall:here/@@freeze-view;
       is_frozen freeze_view/is_frozen;
     "
     i18n:domain="ploneintranet"
>
  <article class="rich">
    <p class="description">${here/description}</p>
  </article>
  <div class="timeline-container ${python:'state-frozen' if is_frozen else '' }">
    <section class="explanation"
             tal:condition="is_frozen"
    >
      <h3 class="header"
          i18n:translate=""
      >Frozen</h3>
      <p class="reason">
        <strong class="state"
                i18n:translate=""
        >Frozen on</strong>
        •
        <time class="date">${freeze_view/frozen_date}</time>
      </p>
    </section>

    <ul tal:replace="structure here/@@metromap"></ul>
    <p class="controls"
       tal:condition="is_frozen"
    >
      <a class="pat-button pat-modal"
         href="${here/absolute_url}/@@panel-unfreeze-case#document-content"
         i18n:translate=""
      >Unfreeze</a>
    </p>
  </div>
</div>
