<div ng-if="!myTasks.groupByProject">
	<ul class="list-unstyled task-list-items" ng-show="myTasks.all_tasks.length > 0">
		<li ng-repeat="task in myTasks.all_tasks" class="task-list-item mb-2 project-overview-content-wrapper">
			<project-task-item task="task" task_complete_toggled="myTasks.taskCompleteToggledCallback(task);" show_edit="false" show_private="false" show_assignees="myTasks.showAssignees" title-length="70" template-url="/intranet/projects/html/components/task_item_component.html" show-project-name="!myTasks.showSectionNames" show-section-name="myTasks.showSectionNames" current-user-id="{{myTasks.userId}}"></project-task-item>
		</li>
	</ul>
</div>
<div ng-if="myTasks.groupByProject">
	<ul class="list-unstyled" ng-show="myTasks.all_tasks.length > 0">
		<li ng-repeat="project in myTasks.projectList | projectListFilter:myTasks.all_tasks" class="task-list-item">
			<div class="project-title">{{project.name}}</div>
			<ul class="list-unstyled task-list-items">
				<li ng-repeat="task in myTasks.all_tasks | projectFilter:project.id" class="task-list-item mb-2">
					<project-task-item task="task" task_complete_toggled="myTasks.taskCompleteToggledCallback(task);" show_edit="false" show_private="false" show-assignees="myTasks.showAssignees" title-length="70" template-url="/intranet/projects/html/components/task_item_component.html" show-project-name="!myTasks.showSectionNames" show-section-name="myTasks.showSectionNames" current-user-id="{{myTasks.userId}}"></project-task-item>
				</li>
			</ul>
		</li>
	</ul>
</div>
<div class="text-muted" ng-show="myTasks.all_tasks.length == 0" lmsg="projects.component.my_tasks.none">
	[No tasks]
</div>
