Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div id="top-infopane">
#set($messages = $action.getActionErrors())

#if($messages && $messages.size() != 0)
    #foreach($message in $messages)
        $message <br/>
    #end
#else
<div id="action-messages">
#set($messages = $action.getActionMessages())
#if($messages && $messages.size() != 0)
    #foreach($message in $messages)
        $message <br />
    #end
#end

</div>

<br/><br/><br/>
#set ( $ticketMap = $action.getTicketCategorycountMap() )
<div id = "open-ticket-table" >
        <table id = "open-tickets" class = "display">
                <thead>
                        <tr>
                                <th>Ticket Category</th>
                                <th>Open Ticket Count</th>
                        </tr>
                </thead>
                <tbody>
                        #foreach($category in $ticketMap.keySet())
                                #set( $ticketCount = $ticketMap.get($category))
                                <tr>
                                        <td>$category</td>
                                        <td><a href="#" class = "open-ticket-count" category = "$category">$ticketCount</a></td>
                                </tr>
                        #end
                </tbody>
        </table>
</div>
</div>

<div id="bottom-infopane">
</div>
#end