Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

#set($updates = $action.getUpdates())
#if($updates.size() > 0)
        <h3>Shipping Status</h3>
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
                <thead>
                        <tr>
                                <th width="20%">Date</th>
                                <th width="20%">Time</th>
                                <th width="20%">Location</th>
                                <th width="40%">Details</th>
                        </tr>
        </thead>
                <tbody>
        #foreach($update in $updates)
          <tr>
                <td align="center">$update.getDate()</td>
                <td align="center">$update.getTime()</td>
                <td align="center">$update.getCity()</td>
                <td align="center">$update.getDescription()</td>
          </tr>
        #end
                </tbody>
        </table>
#else
        <div>
                The updates for this shipment are not available yet. They will be up soon.<br />
                Sorry for the inconvenience.
        </div>
#end