BUG 4596 Filter the user/group list once added to the permission list and separate the user and group dropdown SOLVED

- Changed the dropdown by a dropdown with optgroups
This commit is contained in:
Julio Cesar Laura
2012-08-30 16:02:50 -04:00
parent 53bac5cef7
commit c5e130460e
5 changed files with 298 additions and 107 deletions

View File

@@ -1,4 +1,4 @@
<form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit='return validateForm("{$form_objectRequiredFields}".parseJSON());'>
<form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit='return validateForm("{$form_objectRequiredFields}".parseJSON());'>
<div class="borderForm" style="padding-left: 0pt; padding-right: 0pt;">
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
<div class="content" style="">
@@ -17,57 +17,57 @@
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OP_CASE_STATUS}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OP_CASE_STATUS} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_CASE_STATUS}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_CASE_STATUS}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$TAS_UID}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.TAS_UID} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.TAS_UID}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.TAS_UID}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$GROUP_USER}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.GROUP_USER} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.GROUP_USER}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.GROUP_USER_DROPDOWN}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OP_TASK_SOURCE}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OP_TASK_SOURCE} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_TASK_SOURCE}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_TASK_SOURCE}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OP_PARTICIPATE}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OP_PARTICIPATE} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_PARTICIPATE}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_PARTICIPATE}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OP_OBJ_TYPE}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OP_OBJ_TYPE} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_OBJ_TYPE}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_OBJ_TYPE}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$ALL}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.ALL} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.ALL}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.ALL}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$DYNAFORMS}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.DYNAFORMS} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.DYNAFORMS}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.DYNAFORMS}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$INPUTS}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.INPUTS} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.INPUTS}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.INPUTS}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OUTPUTS}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OUTPUTS} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OUTPUTS}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OUTPUTS}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OP_ACTION}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OP_ACTION} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_ACTION}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OP_ACTION}</td>
</tr>
<tr>
<td class="FormButton" colspan="2" align="center"><br/> {$form.CREATE} &nbsp; {$form.BTN_CANCEL}</td>
@@ -82,4 +82,4 @@
<script type="text/javascript">
{$form.JS}
</script>
</form>
</form>