<div class="ticketBox fixed">
    <div class="row">
        <div class="col-md-8" style="margin-bottom:5px;">
            <strong><a href="<?=BASE_URL ?>/tickets/showKanban?milestone={{ $milestone->id }}" >{{ $milestone->headline  }}</a></strong>
        </div>
        <div class="col-md-4 align-right">

        </div>
    </div>
    @fragment('progress')
        <div class="row progress-wrapper">
            <div class="col-md-7 percent-label">
                {{ __("label.due") }}
                <?php echo format($milestone->editTo )->date($tpl->__("text.no_date_defined")); ?>
            </div>
            <div class="col-md-5 percent-label" style="text-align:right">
                <?=sprintf($tpl->__("text.percent_complete"), format($percentDone)->decimal())?>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="progress" data-tippy-content="<?=sprintf($tpl->__("text.percent_complete"), format($percentDone)->decimal())?>">
                    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="{{ $percentDone }}" aria-valuemin="0" aria-valuemax="100" style="width: {{ $percentDone }}%">
                        <span class="sr-only">{{ sprintf($tpl->__("text.percent_complete"), format($percentDone)->decimal()) }}</span>
                    </div>
                </div>
            </div>
        </div>

        <script>
            tippy('[data-tippy-content]');
        </script>
    @endfragment
</div>
