<div tal:omit-tag=""
     tal:define="descendants python:view.get_partitions()"
     tal:condition="python:descendants"
     i18n:domain="senaite.core">

  <div class="visualClear"></div>

  <div id="portal-alert">

    <div class="portlet-alert-item alert alert-info alert-dismissible">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
      <p class="title">
        <strong i18n:translate="">
          Sample with partitions
        </strong>
      </p>
      <p class="description">
        <span i18n:translate="">
          The following partitions have been created from this Sample:
        </span>
        <tal:parts repeat="part descendants">
          <a tal:attributes="href python:part.absolute_url()"
             tal:content="python:part.getId()" />
          <span tal:condition="not:repeat/part/end" tal:replace="string:, " />
        </tal:parts>
      </p>
    </div>

  </div>
</div>
