    [% META title = 'Worklist &raquo; Histology Blocks' %]
    
<!-- BEGIN [% template.name %] -->
    [% # PROCESS dumper.tt dump = updates %]
    [% # PROCESS dumper.tt dump = failed %]
    [% # PROCESS dumper.tt dump = status_options_map %]
    [% # PROCESS dumper.tt dump = users_map %]
    
    [% USE date(format = '%d.%m.%Y', locale = 'en_GB') %]
    
    [% IF updates.size %]
        <h3>Successful block reference updates:</h3>
        
        <table class="indent">
            <tr>
                <td></td>
                <th scope="col">Lab No</th>
                <th scope="col">Date</th>
                <th scope="col">Reference</th>
                <th scope="col">UserID</th>
            </tr>
            [% FOREACH data IN updates %] 
            <tr>
                <td>[% loop.count %]</td>
                <td>
                    [% PROCESS site/lab_number.tt want_url = 1 %]
                </td>
                <td>[% date.format %]</td>
                <td>[% c.query.param('reference') %]</td>
                <td align="center">[% c.authen.username | upper %]</td>
            </tr>
            [% END %]
        </table>
    [% END %]
<!-- END [% template.name %] -->