Subversion Repositories SmartDukaan

Rev

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-bordered">
                                <tbody>
                                        <tr>
                                                <th>User</th>
                                                <th>Category</th>
                                                <th>Region</th>
                                                <th>Created TimeStamp</th>
                                                <th>EscalationType</th>
                                                <th>Action</th>
                                        </tr>
                                        #if(!$positions.isEmpty())
                                                                #foreach($position in $positions)
                                                                <tr>
                                                                <td>$authUserIdAndAuthUserMap.get($position.getAuthUserId()).getFirstName()</td>
                                                                #if($position.getCategoryId()==0)
                                                                <td>All Category</td>
                                                                #else
                                                                <td>$categoryIdAndCategoryMap.get($position.getCategoryId()).getName()</td>
                                                                #end
                                                                #if($position.getRegionId()==0)
                                                                <td>All Region</td>
                                                                #else
                                                                <td>$regionIdAndRegionMap.get($position.getRegionId()).getName()</td>
                                                                #end
                                                                <td>$position.getFormattedCreateTimestamp()</td>
                                                                <td>$position.getEscalationType()</td>
                                                                <td><button class="btn btn-primary remove-position" data-positionid="$position.getId()">Remove</button></td>
                                                        </tr>
                                                        #end
                                                        #else
                                                        <tr>
                                                        <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                                                </tr>
                                                        #end
                                </tbody>
                        </table>
                </div>