<div class="task-group-inner">
	<small ng-hide="notifications.length > 0">No notifications sent.</small>
	<ul class="fa-ul">
		<li ng-click="showNotification(notification)" ng-repeat="notification in notifications"><i ng-show="notification.type=='email'" class="fa-li fa fa-envelope"></i><i ng-show="notification.type=='sms'" class="fa-li fa fa-mobile"></i>
		{[{ notification.subject? notification.subject : notification.message  | cut:true:30:' ...' }]} sent by <strong><em>{[{ notification.user.name }]}</em></strong>
		<span class="pull-right" tooltip="{[{ notification.created_at }]}"><i class="fa fa-clock-o"></i> {[{ notification.created_at | fromNow }]}</span></li>
	</ul>
	<div class="buttons text-right">
		<div class="btn btn-default" ng-click="sendNotification()">
			<i class="fa fa-paper-plane-o"></i> Send Notification
		</div>
	</div>
	@include('bookings::templates.modals.customer-notification')
</div>