<p style="padding-bottom:5px;">
    {if isset($project_group)}
        <span style="margin-bottom:10px; display:inline-block;">{$i.filter_project_group}: {$project_group->name}</span>
    {/if}    
    {if isset($project_category)}
        <span style="margin-bottom:10px; display:inline-block;">{$i.filter_project_category}: {$project_category->name}</span>
    {/if}    
    {if isset($cost_centre)}
        <span style="margin-bottom:10px; display:inline-block;">{$i.filter_cost_centre}: {$cost_centre->name}</span>
    {/if}    
    {if isset($status)}
        <span style="margin-bottom:10px; display:inline-block;">{$i.filter_status}: {$status->name}</span>
    {/if}        
</p>

<div style="max-height:220px; pd4ml-display: inline; overflow:auto;">
    <table class="list">
    {foreach item="project" from=$projects}
        <tr class="smallbtns" title="{$project->created_date->us_date()}"
            {if $has_right_projectadmin}class="smallbtns" onclick="usComm.loadPage('projectadmin','index', 'view', {$project->id})"{/if}>
            <td style="width:1px">
                <span class="dialog_make_btn14 bullet">1</span>
            </td>
            <td>{$project->project}</td>
        </tr>
    {/foreach}
    </table>
</div>