<div id="inforightbtns">
    {if $vacation->basic_can_use}
        {if $vacation->object_is_editable}
            <span class="dialog_make_btn16 edit mobile_big24 smallbtns ui-corner-all"
                onclick="holidayadmin.open({$vacation->id}, false, '');"
                title="{$i.basic_edit}"></span>
            <span class="dialog_make_btn16 delete smallbtns ui-corner-all"
                onclick="holidayadmin.delete_entry({$vacation->id}, {intval($vacation->imported_workinput)}, {intval($vacation->imported_persapp)});"
                title="{$i.basic_delete}"></span>
            &nbsp;
        {/if}
    
        {if $vacation->status__approved && !$vacation->imported_workinput && !$vacation->increased}
            {if $vacation->is_fully_old}
                <span class="dialog_make_btn16 add_vac_to_hours smallbtns ui-corner-all"
                    onclick="holidayadmin.add_to_workinput({$vacation->id});"
                    title="{$i.holidayadmin_add_to_workinput}"></span>
            {elseif $vacation->is_old}
                <span class="dialog_make_btn16 add_vac_to_hours smallbtns ui-corner-all"
                    onclick="holidayadmin.add_to_workinput({$vacation->id});"
                    title="{$i.holidayadmin_add_to_workinput_today}"></span>
            {else}
                <span class="dialog_make_btn16 help ui-corner-all"
                    title="{$i.holidayadmin_add_to_workinput_no}"></span>
            {/if}
        {/if}
        {if $has_right_appointments && $vacation->status__approved && !$vacation->imported_persapp && !$vacation->increased}
            <span class="dialog_make_btn16 add_vac_to_cal smallbtns ui-corner-all"
                onclick="holidayadmin.add_to_persapp({$vacation->id});"
                title="{$i.holidayadmin_add_to_persapp}"></span>
        {/if}
    {/if}
</div>
<div id="inforight" class="below">
    {include file="Holidayadmin/info_right_table.tpl"}
</div>