<div ng-controller="Cases.TimeController">
    <div class="panel panel-success panel-grid">
        <div class="panel-heading">
            <div class="panel-title">
                <span translate>cases.comp.time.title</span>
                <div class="pull-right">
                    <a class="btn btn-default btn-xs"
                       ui-sref="frevvo.new-timesheet-from-object(newTimesheetParamsFromObject)"
                       ng-show="isFrevvoFormType">
                        <i class="fa fa-lg fa-plus"></i>
                    </a>
                    <a class="btn btn-default btn-xs" ng-click="newTimesheet()" ng-show="isAngularFormType">
                        <i class="fa fa-lg fa-plus"></i>
                    </a>
                </div>
            </div>
        </div>
        <div class="panel-body">
            <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-selection ui-grid-auto-resize ui-grid-pagination
                 adjust-table-height="gridOptions.data.length" class="grid"></div>
        </div>
    </div>
</div>
