Skip to content
Snippets Groups Projects
Commit 8742d556 authored by Peter Rotich's avatar Peter Rotich
Browse files

Fix layout related issues

parent 091aae59
Branches
Tags
No related merge requests found
...@@ -16,10 +16,10 @@ if(!defined('OSTSCPINC') || !$thisstaff || !is_object($org)) die('Invalid path') ...@@ -16,10 +16,10 @@ if(!defined('OSTSCPINC') || !$thisstaff || !is_object($org)) die('Invalid path')
</table> </table>
<table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0"> <table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0">
<tr> <tr>
<td width="50"> <td width="50%">
<table border="0" cellspacing="" cellpadding="4" width="100%"> <table border="0" cellspacing="" cellpadding="4" width="100%">
<tr> <tr>
<th width="100">Name:</th> <th width="150">Name:</th>
<td><b><a href="#orgs/<?php echo $org->getId(); <td><b><a href="#orgs/<?php echo $org->getId();
?>/edit" class="org-action"><i ?>/edit" class="org-action"><i
class="icon-edit"></i>&nbsp;<?php echo class="icon-edit"></i>&nbsp;<?php echo
...@@ -27,16 +27,15 @@ if(!defined('OSTSCPINC') || !$thisstaff || !is_object($org)) die('Invalid path') ...@@ -27,16 +27,15 @@ if(!defined('OSTSCPINC') || !$thisstaff || !is_object($org)) die('Invalid path')
?></a></td> ?></a></td>
</tr> </tr>
<tr> <tr>
<th>Users:</th> <th>Account Manager:</th>
<td> {num-here} <td>&nbsp; </td>
</td>
</tr> </tr>
</table> </table>
</td> </td>
<td width="50%" style="vertical-align:top"> <td width="50%" style="vertical-align:top">
<table border="0" cellspacing="" cellpadding="4" width="100%"> <table border="0" cellspacing="" cellpadding="4" width="100%">
<tr> <tr>
<th>Created:</th> <th width="150">Created:</th>
<td><?php echo Format::db_datetime($org->getCreateDate()); ?></td> <td><?php echo Format::db_datetime($org->getCreateDate()); ?></td>
</tr> </tr>
<tr> <tr>
......
...@@ -8,6 +8,7 @@ if (isset($options['entry']) && $options['mode'] == 'edit' ...@@ -8,6 +8,7 @@ if (isset($options['entry']) && $options['mode'] == 'edit'
return; return;
?> ?>
<tbody> <tbody>
<tr><td style="width:<?php echo $options['width'] ?: 150;?>px;"></td><td></td></tr>
<?php <?php
// Keep up with the entry id in a hidden field to decide what to add and // Keep up with the entry id in a hidden field to decide what to add and
// delete when the parent form is submitted // delete when the parent form is submitted
......
...@@ -132,7 +132,7 @@ if($ticket->isOverdue()) ...@@ -132,7 +132,7 @@ if($ticket->isOverdue())
</table> </table>
<table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0"> <table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0">
<tr> <tr>
<td width="50"> <td width="50%">
<table border="0" cellspacing="" cellpadding="4" width="100%"> <table border="0" cellspacing="" cellpadding="4" width="100%">
<tr> <tr>
<th width="100">Status:</th> <th width="100">Status:</th>
......
...@@ -59,10 +59,10 @@ $org = $account ? $account->getOrganization() : null; ...@@ -59,10 +59,10 @@ $org = $account ? $account->getOrganization() : null;
</table> </table>
<table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0"> <table class="ticket_info" cellspacing="0" cellpadding="0" width="940" border="0">
<tr> <tr>
<td width="50"> <td width="50%">
<table border="0" cellspacing="" cellpadding="4" width="100%"> <table border="0" cellspacing="" cellpadding="4" width="100%">
<tr> <tr>
<th width="100">Name:</th> <th width="150">Name:</th>
<td><b><a href="#users/<?php echo $user->getId(); <td><b><a href="#users/<?php echo $user->getId();
?>/edit" class="user-action"><i ?>/edit" class="user-action"><i
class="icon-edit"></i>&nbsp;<?php echo class="icon-edit"></i>&nbsp;<?php echo
...@@ -99,7 +99,7 @@ $org = $account ? $account->getOrganization() : null; ...@@ -99,7 +99,7 @@ $org = $account ? $account->getOrganization() : null;
<td width="50%" style="vertical-align:top"> <td width="50%" style="vertical-align:top">
<table border="0" cellspacing="" cellpadding="4" width="100%"> <table border="0" cellspacing="" cellpadding="4" width="100%">
<tr> <tr>
<th>Status:</th> <th width="150">Status:</th>
<td> <span id="user-<?php echo $user->getId(); <td> <span id="user-<?php echo $user->getId();
?>-status"><?php echo $user->getAccountStatus(); ?></span></td> ?>-status"><?php echo $user->getAccountStatus(); ?></span></td>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment