<h2>{$i.projectadmin_resource_planner}</h2> 
{if $working_users}
    <div id="work_packages_working_warning" class="warningsmall ui-corner-all" style="margin-left:0px; margin-right:0px; float: left;">{$working_users}</div>
{/if}

<style id="resource_view_style_css" scoped></style>

<div id="resource_head">
    <form action="" method="post" class="ui-corner-all" style="clear:both;">
        <fieldset class="ui-widget-header ui-corner-all noborder">
            {include file='r/hidden.tpl' name="resource_view_style" default=$view_style}
            {if !$has_skill_grps}
                <a href="{site_url url="start/open/masterdatamanagement/index/`$xjxcookie`/md_skill_grp"}" title="{$i.projectadmin_no_sgs} {$i.basic_new_window}" 
                    onclick="usComm.windowOpen(this.href); return false;" class="warningsmall ui-corner-all" style="margin-left:0px; margin-right:0px; float: left;box-shadow: 1px 1px 0 #F00707 inset;"> {$i.projectadmin_no_sgs}</a>
            {/if}
        </fieldset>
    </form>
</div>
            
<div id="resource_content" class="resource_table" style="position:relative; overflow:auto; white-space: nowrap; padding: 0 5px 5px 0"></div>

<a class="dialog_make_text_btn ui-corner-all " onclick="
    usComm.butler.set_filter('portlet_resource_planner__project', '', '{$project_id}', '{prepare_string($project_name, false, 'FORJS')}' , usComm.butler.FILTER_ACTION_CHANGE);
    usComm.butler.load('Resource_planner_portlet', usComm.butler.REQUEST_NO, usComm.butler.TARGET_BLANK);">
    <span class="dialog_make_btn16 address ui-corner-all"></span>{$i.basic_portlets}: {$i.basic_resourceplanner}
</a>