<html xmlns='http://www.w3.org/1999/xhtml'
    xml:lang='en'
    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'
    metal:use-macro='context/main_template/macros/master'
    i18n:domain='eke.specimens'>
<!--
Copyright 2013 California Institute of Technology. ALL RIGHTS
RESERVED. U.S. Government Sponsorship acknowledged.
-->
    <head>
        <title>Specimen System Folder</title>
    </head>
    <body>
        <metal:main fill-slot='content-core'>
            <tal:main-macro metal:define-macro='content-core' tal:define='
                haveSystems view/haveSpecimenSystems;
            '>
                <div tal:replace='structure context/text'>
                    Body Text
                </div>

                <p class='discreet' tal:condition='not:haveSystems' i18n:translate='ekeSpecimensAdmonitionNoSpecCollecs'>
                    There are no specimen systems in this folder (yet).
                </p>

                <table class='listing' tal:condition='haveSystems' tal:define='systems view/specimenSystems;'>
                    <thead>
                        <tr>
                            <th i18n:translate='ekeSpecimensTabHeadCollecName'>System</th>
                            <th i18n:translate='ekeSpecimensTabHeadParticipants'>Participants</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr tal:repeat='system systems'>
                            <td>
                                <a href='#' title='Some nifty system or other.' tal:content='system/title'
                                    tal:attributes='href system/url; title system/description;'>
                                    Nifty System
                                </a>
                            </td>
                            <td tal:content='system/getNumParticipants' style='text-align: right;'>
                                42
                            </td>
                        </tr>
                    </tbody>
                </table>
            </tal:main-macro>
        </metal:main>
    </body>
</html>
