Subversion Repositories SmartDukaan

Rev

Rev 25972 | Rev 27822 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25691 amit.gupta 1
	<div class="row">
27696 tejbeer 2
		<div class="col-lg-12" >
25649 tejbeer 3
 
27696 tejbeer 4
			<table class="table  table-advance flag" id ="notificationtable">
25690 amit.gupta 5
	   			<tbody>
6
	   			#if(!$notifications.isEmpty())
7
		    		#foreach( $request in $notifications )
25691 amit.gupta 8
		    		<tr class="notifications" data="$request.getCid()">			    		    
9
		    			#if($request.getMessageType()=="announcement")
25690 amit.gupta 10
			    		<td width=32px;><i class="fa fa-bullhorn "></i></td>
11
			    		#elseif($request.getMessageType()=="scheme")
12
			    		<td width=32px;><i class="fa fa-tags"></i></td>
13
			   			#else
14
			   			<td width=32px;><i class="fas fa-bell"></i></td>
15
			   			#end		
16
			   			<td>
17
		    				<div style="float:right;font-size:12px;">$request.getDate().format($dateTimeFormatter)</div>
18
							<span><b>$request.getTitle()</b></span>
19
							<br> 
20
							<span font-size:13px;> $request.getMessage()</span>
21
							<div style="float:right">
22
							#if($request.getDocumentId())
23
							<a 
24
				    	    	href="javascript:void(0)"  style="color:#337ab7;"  
25972 tejbeer 25
				    	        onclick="downloadNotifyDocument($request.getDocumentId(),$request.getCid(), `$request.getDocumentName()`)">
25690 amit.gupta 26
			    	            	$request.getDocumentName()&nbsp;
27
			    	            <i class="fa fa-download"></i>
28
							</a>
29
							#end
30
							</div>
31
						</td>
32
					</tr>	
33
					#end
34
		    	#else
25683 tejbeer 35
		    		<tr>
25690 amit.gupta 36
		    			<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
25691 amit.gupta 37
		   			</tr>
25690 amit.gupta 38
		   		#end  
39
		    	</tbody>
40
			</table>
41
		</div>				
27696 tejbeer 42
	</div>
43
 
44
		<style>
45
		.flag tr:nth-child(3n+1)
46
		{
47
		  background:#FFA500; 
48
 
49
		}
50
		.flag tr:nth-child(3n+2)
51
		{
52
		 background:#FFFAFA; 
53
 
54
		}
55
		.flag tr:nth-child(3n+3)
56
		{
57
		 background:#32CD32; 
58
 
59
		}
60
		</style>
61
 
62