<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-name="project_todo.TodoFormControlPanel" t-inherit="web.ControlPanel" t-inherit-mode="primary">
        <xpath expr="//div/t/t[@t-slot='control-panel-breadcrumb']" position="replace">
            <t t-slot="control-panel-breadcrumb">
                <t t-call="project_todo.TodoBreadcrumbs"/>
            </t>
        </xpath>

    </t>

    <t t-name="project_todo.TodoBreadcrumbs" t-inherit="web.Breadcrumbs" t-inherit-mode="primary">
        <xpath expr="//div[hasclass('o_last_breadcrumb_item')]//span" position="replace">
            <t t-slot="control-panel-todo-name" />
            <t t-slot="todo-mark-as-done-button" />
        </xpath>
    </t>

</templates>
