Author: david
Date: Mon Sep 14 11:24:46 2009
New Revision: 3263

Log:
Remove 'collection' column from aclGroup permissions table.  Add div around YUI 
autocomplete to prevent drop-down list from overflowing table cell.

Modified:
   trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php

Modified: trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php        
Mon Sep 14 11:10:39 2009        (r3262)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php        
Mon Sep 14 11:24:46 2009        (r3263)
@@ -36,17 +36,15 @@
       <caption><?php echo __('Permissions'); ?></caption>
       <thead>
         <tr>
-          <th style="width: 15%"><?php echo __('action') ?></th>
+          <th style="width: 20%"><?php echo __('action') ?></th>
           <th style="width: 15%"><?php echo __('grant/deny') ?></th>
-          <th style="width: 30%"><?php echo __('collection') ?></th>
-          <th style="width: 30%"><?php echo __('repository') ?></th>
+          <th style="width: 60%"><?php echo __('repository') ?></th>
           <th style="width: 5%"><?php echo image_tag('delete', array('align' 
=> 'top', 'class' => 'deleteIcon')) ?></th>
         </tr>
       </thead>
       <tbody>
         <?php foreach ($permissions as $permission): ?>
           <?php $parameters = array() ?>
-          <?php $infoObject = 
QubitInformationObject::getById($permission->objectId) ?>
           <tr>
             <td><?php echo 
$permission->getAction()->getName(array('cultureFallback' => true)) ?></td>
             <td>
@@ -56,17 +54,14 @@
               </ul>
             </td>
             <td>
-              <?php if (null !== $infoObject): ?>
-                <option value="" selected="selected"><?php echo 
$infoObject->getTitle(array('cultureFallback' => true)) ?></option>
-              <?php endif; ?>
-            </td>
-            <td>
+              <div style="width: 100%">
               <select name="repositoryId[<?php echo $permission->id ?>]" 
class="form-autocomplete" id="repository">
               <?php if (null !== ($repository = 
$permission->getRepository())): ?>
                 <option value="" selected="selected"><?php echo 
$repository->getAuthorizedFormOfName(array('cultureFallback' => true)) 
?></option>
               <?php endif; ?>
               </select>
               <input class="list" type="hidden" value="<?php echo 
$this->context->routing->generate(null, array('module' => 'repository', 
'action' => 'list')) ?>" />
+              </div>
             </td>
             <td>&nbsp;</td>
           </tr>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to