<tal:block metal:use-macro="view.index_tmpl().macros[view.tmpl_macro or 'main_object']"  i18n:domain="nive">
<tal:block metal:fill-slot="content">

<span tal:replace="structure view.unitInfo('view')" />
<span tal:replace="structure view.messages()" />

<br>
<tal:block tal:condition="tool is not None">
    <h3>${tool.configuration.name}</h3>
    <div class="alert alert-info" tal:condition="tool.configuration.description"
             tal:content="structure tool.configuration.description"></div>
    <span tal:replace="structure content"/>
</tal:block>

<tal:block tal:condition="tool is None">
    <tal:block tal:repeat="tool tools">
        <div class="alert alert-info">
            <strong><a name="${tool.id}" href="?tag=${tool.id}">${tool.name}</a></strong><br>
                <span tal:replace="structure tool.description"></span>
        </div>
    </tal:block>

    <div tal:replace="structure view.slot('options')"></div>
    <hr>
    <br>
    <p><a href="duplicate"
          class="btn btn-success" i18n:translate="">Duplicate this item</a></p>
    <p><a href="translate"
          class="btn btn-success" i18n:translate="">Duplicate and translate this item</a></p>
    <hr>
    <br>
    <p class="alert alert-warning">
    <a href="deleteo"
       class="btn btn-danger" i18n:translate="">Delete this item now, cannot be undone!</a>
    </p>
</tal:block>

</tal:block>
</tal:block>
