<?php
$module_name='AM_TaskTemplates';
$subpanel_layout = array(
  'top_buttons' =>
  array(
    0 =>
    array(
      'widget_class' => 'SubPanelTopCreateButton',
    ),
    1 =>
    array(
      'widget_class' => 'SubPanelTopSelectButton',
      'popup_module' => 'AM_TaskTemplates',
    ),
  ),
  'where' => '',
  'list_fields' =>
  array(
    'name' =>
    array(
      'vname' => 'LBL_NAME',
      'widget_class' => 'SubPanelDetailViewLink',
      'width' => '45%',
      'default' => true,
    ),
    'duration' =>
    array(
      'type' => 'int',
      'vname' => 'LBL_DURATION',
      'width' => '10%',
      'default' => true,
    ),
    'priority' =>
    array(
      'type' => 'enum',
      'default' => true,
      'studio' => 'visible',
      'vname' => 'LBL_PRIORITY',
      'width' => '10%',
    ),
    'status' =>
    array(
      'type' => 'enum',
      'default' => true,
      'studio' => 'visible',
      'vname' => 'LBL_STATUS',
      'width' => '10%',
    ),
    'relationship_type' =>
    array(
      'type' => 'enum',
      'default' => true,
      'studio' => 'visible',
      'vname' => 'LBL_RELATIONSHIP_TYPE',
      'width' => '10%',
    ),
    'date_modified' =>
    array(
      'vname' => 'LBL_DATE_MODIFIED',
      'width' => '45%',
      'default' => true,
    ),
    'edit_button' =>
    array(
      'vname' => 'LBL_EDIT_BUTTON',
      'widget_class' => 'SubPanelEditButton',
      'module' => 'AM_TaskTemplates',
      'width' => '4%',
      'default' => true,
    ),
    'remove_button' =>
    array(
      'vname' => 'LBL_REMOVE',
      'widget_class' => 'SubPanelRemoveButton',
      'module' => 'AM_TaskTemplates',
      'width' => '5%',
      'default' => true,
    ),
  ),
);
