dashboard_all_notification.html

 1   <#include "/commons_site.html"/>
 2   <#include "dashboard_notification_util.html"/>
 3   <div class="row">
 4   	<div class="offset-lg-2 col-lg-8">
 5   		<h2>#i18n{module.mydashboard.notification.myDashboardComponentNotification.pageTitle}</h2>
 6   		<div class="table-responsive">
 7   			<table class="table table-striped">
 8   				<#list notification_list as notification>
 9   				<#if notification??>
 10   				<div id="accordion">
 11   					<tbody>
 12   						<tr class="notification-head" data-id="${notification.idNotification}" data-toggle="collapse" data-target="#collapse${notification.idNotification}" aria-expanded="true" aria-controls="collapse${notification.idNotification}">
 13   							<td data-label="Date&nbsp;:">
 14   							<#if notification.read>
 15   								<i class="fa fa-envelope-open  main-color" aria-hidden="true"></i>
 16   							<#else>
 17   								<i class="fa fa-envelope main-color" aria-hidden="true"></i>
 18   							</#if>
 19   								&nbsp;${notification.dateCreation?date?string["dd.MM.yyyy"]}
 20   							</td>
 21   							<td data-label="Object :">
 22   								<strong>${notification.object!}</strong>
 23   							</td>
 24   							<td class="text-sm-left text-md-center" data-label="Sender : ">
 25   								${notification.sender!}
 26   							</td>
 27   						</tr> 
 28   						<tr id="collapse${notification.idNotification}" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
 29   							<td colspan="3">
 30   							  <div class="media mb-2">
 31   								  <div class="media-body pt-sm-2">
 32   										${notification.message}
 33   								  </div>
 34   								</div>
 35   							</td>
 36   						</tr>
 37   					</tbody>
 38   				</div>
 39   				</#if>
 40   				</#list>
 41   			</table>
 42   			<@paginationSitePageLinks paginator=paginator />
 43   		</div>
 44   	</div>
 45   </div>
 46   <script>
 47   
 48   </script>