<div id="more-menu-news"
     tal:define="
       cancel_working_copy_allowed here/@@iterate_control/cancel_allowed|nothing;
     "
>
  <ul class="menu">
    <li>
      <a class="icon-eye"
         href="${context/absolute_url}"
         target="Preview"
         i18n:attributes="title"
         i18n:translate=""
      >
       Preview
      </a>
    </li>
    <li tal:condition="python: not cancel_working_copy_allowed and view.can_delete">
      <tal:delete condition="exists:here/@@delete-link"
                  replace="structure here/@@delete-link"
      />
    </li>
    <li tal:condition="cancel_working_copy_allowed">
      <a class="pat-modal pat-button icon-trash"
         href="${here/absolute_url}/@@panel-cancel-check-out#document-content"
         data-pat-modal="class: small panel"
         i18n:translate=""
      >
        Remove this working copy
      </a>
    </li>
  </ul>
</div>
