<div class="js-project-file-list">
	<div class="mb-2" ng-if="ctrl.fileList.length > 0" ng-repeat="file in ctrl.fileList">
		<cla-card>
			<a target="_blank" ng-href="/intranet/documents/{{ file.parent_id }}/{{ file.doc_id }}/{{ file.pc_title }}">{{ file.title }}</a>
			<a ng-if="file.creator.url" rel="tooltip" ng-href="{{ file.creator.url }}" data-original-title="{{ file.creator.name }}">
				<img class="tasks-profile-img dashboard-profile-img" ng-src="{{ file.creator.profile_img }}">
			</a>
			<span ng-if="!file.creator.url" rel="tooltip" data-original-title="{{ file.creator.name }}">
				<img ng-src="{{ file.creator.profile_img }}" class="tasks-profile-img dashboard-profile-img">
			</span>
			<span class="small">
				<span class="text-muted">
					<lmsg src="projects.documents.uploaded_on">Uploaded on</lmsg>: </span> {{ file.created }}
			</span>
		</cla-card>
	</div>

	<div class="mb-2" ng-if="ctrl.fileList.length === 0">
		<lmsg src="projects.documents.no_files">[There are no files.]</lmsg>
	</div>
</div>
