| Line 2... |
Line 2... |
| 2 |
<div class="col-lg-12">
|
2 |
<div class="col-lg-12">
|
| 3 |
<table class="table table-advance flag" id="notificationtable">
|
3 |
<table class="table table-advance flag" id="notificationtable">
|
| 4 |
<thead></thead>
|
4 |
<thead></thead>
|
| 5 |
<tbody>
|
5 |
<tbody>
|
| 6 |
#if(!$notifications.isEmpty())
|
6 |
#if(!$notifications.isEmpty())
|
| 7 |
#foreach( $request in $notifications )
|
7 |
#foreach( $notificationsModel in $notifications )
|
| 8 |
<tr class="notifications" data="$request.getCid()">
|
8 |
<tr class="notifications" data="$notificationsModel.getCid()">
|
| 9 |
#if($request.getMessageType()=="announcement")
|
9 |
#if($notificationsModel.getMessageType()=="announcement")
|
| 10 |
<td style="width:32px;"><i class="fa fa-bullhorn "></i></td>
|
10 |
<td style="width:32px;"><i class="fa fa-bullhorn "></i></td>
|
| 11 |
#elseif($request.getMessageType()=="scheme")
|
11 |
#elseif($notificationsModel.getMessageType()=="scheme")
|
| 12 |
<td style="width:32px;"><i class="fa fa-tags"></i></td>
|
12 |
<td style="width:32px;"><i class="fa fa-tags"></i></td>
|
| 13 |
#else
|
13 |
#else
|
| 14 |
<td style="width:32px;"><i class="fas fa-bell"></i></td>
|
14 |
<td style="width:32px;"><i class="fas fa-bell"></i></td>
|
| 15 |
#end
|
15 |
#end
|
| 16 |
<td>
|
16 |
<td>
|
| 17 |
<div style="float:right;font-size:12px;">$request.getDate().format($dateTimeFormatter)</div>
|
17 |
<div style="float:right;font-size:12px;">$notificationsModel.getDate().format($dateTimeFormatter)</div>
|
| 18 |
<span><b>$request.getTitle()</b></span>
|
18 |
<span><b>$notificationsModel.getTitle()</b></span>
|
| 19 |
<br>
|
19 |
<br>
|
| 20 |
<span style="font-size:13px;"> $request.getMessage()</span>
|
20 |
<span style="font-size:13px;"> $notificationsModel.getMessage()</span>
|
| 21 |
<div style="float:right">
|
21 |
<div style="float:right">
|
| 22 |
#if($request.getDocumentId())
|
22 |
#if($notificationsModel.getDocumentId())
|
| 23 |
<a
|
23 |
<a
|
| 24 |
href="javascript:void(0)" style="color:#337ab7;"
|
24 |
href="javascript:void(0)" style="color:#337ab7;"
|
| 25 |
onclick="downloadNotifyDocument($request.getDocumentId(),$request.getCid(), `$request.getDocumentName()`)">
|
25 |
onclick="downloadNotifyDocument($notificationsModel.getDocumentId(),$notificationsModel.getCid(), `$notificationsModel.getDocumentName()`)">
|
| 26 |
$request.getDocumentName()
|
26 |
$notificationsModel.getDocumentName()
|
| 27 |
<i class="fa fa-download"></i>
|
27 |
<i class="fa fa-download"></i>
|
| 28 |
</a>
|
28 |
</a>
|
| 29 |
#end
|
29 |
#end
|
| 30 |
</div>
|
30 |
</div>
|
| 31 |
</td>
|
31 |
</td>
|