Subversion Repositories SmartDukaan

Rev

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

        <div class="row">
                <div class="col-lg-12">
                                        
                        <table class="table table-striped table-advance table-hover">
                                <tbody>
                                #if(!$notifications.isEmpty())
                                #foreach( $request in $notifications )
                                <tr class="notifications" data="$request.getCid()">                                         
                                        #if($request.getMessageType()=="announcement")
                                        <td width=32px;><i class="fa fa-bullhorn "></i></td>
                                        #elseif($request.getMessageType()=="scheme")
                                        <td width=32px;><i class="fa fa-tags"></i></td>
                                                #else
                                                <td width=32px;><i class="fas fa-bell"></i></td>
                                                #end            
                                                <td>
                                                <div style="float:right;font-size:12px;">$request.getDate().format($dateTimeFormatter)</div>
                                                        <span><b>$request.getTitle()</b></span>
                                                        <br> 
                                                        <span font-size:13px;> $request.getMessage()</span>
                                                        <div style="float:right">
                                                        #if($request.getDocumentId())
                                                        <a 
                                                href="javascript:void(0)"  style="color:#337ab7;"  
                                                onclick="downloadNotifyDocument($request.getDocumentId(),$request.getCid(), '$request.getDocumentName()')">
                                                $request.getDocumentName()&nbsp;
                                            <i class="fa fa-download"></i>
                                                        </a>
                                                        #end
                                                        </div>
                                                </td>
                                        </tr>   
                                        #end
                        #else
                                <tr>
                                        <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                                        </tr>
                                #end  
                        </tbody>
                        </table>
                </div>                          
        </div>