<h2><em>{$i.masterdatamanagement_gp_projects}</em> - {$i.masterdatamanagement_md_work_packages_presets} {if $language_name}({$language_name}){/if}</h2>

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

<div id="md_work_packages_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="work_package_view_style" default=$view_style}
        {include file='r/select.tpl' title="masterdatamanagement_work_package_record"
            name="work_packages" filter_extra='onchange="md_work_packages.load_tree_nodes()"'
            list=$tree_list id="id" text="tree_name" noempty=TRUE collapse="formcoll"
            add_icons_file="add_new_work_package_tree"}
        <span style="float:right; padding: 3px;">
            <span id="work_package_view_style1" onclick="md_work_packages.load_tree_nodes(1);" class="dialog_make_text_btn ui-corner-all">{$i.masterdatamanagement_work_package_organigram}</span>
            <span id="work_package_view_style2" onclick="md_work_packages.load_tree_nodes(2);" class="dialog_make_text_btn ui-corner-all">{$i.masterdatamanagement_work_package_list}</span>
        </span>
    </fieldset>
</form>
</div>

<div id="md_work_packages_content" class="work_package_tree"></div>

{include file='r_forms/editable_popform.tpl' id="md_work_packages"}
        {include file='Masterdatamanagement/work_packages/edit_popform.tpl'}
    </div>
</form>