* Adjusting programplan and project and panel module code.
This commit is contained in:
@@ -59,7 +59,7 @@ js::set('confirmDelete', $lang->programplan->confirmDelete);
|
||||
<tbody>
|
||||
<?php foreach($plans as $plan):?>
|
||||
<tr data-id='<?php echo $plan->id?>'>
|
||||
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $plan, $users);?>
|
||||
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $plan, $users, $programID);?>
|
||||
</tr>
|
||||
<?php if(!empty($plan->children)):?>
|
||||
<?php $i = 0;?>
|
||||
@@ -67,7 +67,7 @@ js::set('confirmDelete', $lang->programplan->confirmDelete);
|
||||
<?php $class = $i == 0 ? ' table-child-top' : '';?>
|
||||
<?php $class .= ($i + 1 == count($plan->children)) ? ' table-child-bottom' : '';?>
|
||||
<tr class='table-children<?php echo $class;?> parent-<?php echo $plan->id;?>' data-id='<?php echo $child->id?>'>
|
||||
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $child, $users);?>
|
||||
<?php foreach($setting as $key => $value) $this->programplan->printCell($value, $child, $users, $programID);?>
|
||||
</tr>
|
||||
<?php $i ++;?>
|
||||
<?php endforeach;?>
|
||||
|
||||
Reference in New Issue
Block a user