<div class="ui-dialog-maxheight-scroll">
    <ul>
        {foreach from=$drawings item=drawing}
            <li onclick="drawings_drawings.assign_as_new_use('{$drawing->id}');" class="dialog_make_text_btn ui-corner-all">
                <span class="dialog_make_btn16 ok ui-corner-all"></span>
                {$drawing->name}
                (
                    {if isset($drawing->cad_file)}{$i.drawings_cad_file_short}: {$drawing->cad_file|truncate:80:'..':true:true} &nbsp; {/if}
                    {if isset($drawing->plot_file)}{$i.drawings_plot_file_short}: {$drawing->plot_file|truncate:80:'..':true:true}{/if}
                )
            </li>
        {foreachelse}
            <li>{$i.basic_no_result1}</li>
        {/foreach}
    </ul>
</div>
