comanage-dev - [comanage-dev] r512 - in registry/trunk/app: Controller View/OrgIdentities
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r512 - in registry/trunk/app: Controller View/OrgIdentities
- Date: Fri, 3 May 2013 19:18:56 -0400
- Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none
Author: marie
Date: 2013-05-03 19:18:56 -0400 (Fri, 03 May 2013)
New Revision: 512
Modified:
registry/trunk/app/Controller/OrgIdentitiesController.php
registry/trunk/app/View/OrgIdentities/index.ctp
Log:
CO139 Remove unused orgid column and search
Modified: registry/trunk/app/Controller/OrgIdentitiesController.php
===================================================================
--- registry/trunk/app/Controller/OrgIdentitiesController.php 2013-05-01
01:18:56 UTC (rev 511)
+++ registry/trunk/app/Controller/OrgIdentitiesController.php 2013-05-03
23:18:56 UTC (rev 512)
@@ -422,12 +422,6 @@
$pagcond['OrgIdentity.affiliation LIKE'] = "%$searchterm%";
}
- // Filter by Organization ID
- if(!empty($this->params['named']['Search.organizationID'])) {
- $searchterm = $this->params['named']['Search.organizationID'];
- $pagcond['OrgIdentity.organization_id LIKE'] = "%$searchterm%";
- }
-
return($pagcond);
}
Modified: registry/trunk/app/View/OrgIdentities/index.ctp
===================================================================
--- registry/trunk/app/View/OrgIdentities/index.ctp 2013-05-01 01:18:56
UTC (rev 511)
+++ registry/trunk/app/View/OrgIdentities/index.ctp 2013-05-03 23:18:56
UTC (rev 512)
@@ -76,7 +76,6 @@
'empty' => '',
'label' => 'Affiliation');
print $this->Form->input('Search.affiliation', $formParams);
- print $this->Form->input('Search.organizationID');
print $this->Form->submit('Search');
?>
@@ -85,7 +84,7 @@
</div>
</div>
-<table id="org_identities" class="ui-widget">
+<table id="org_identities" class="ui-widget" style=" width:100%;">
<thead>
<tr class="ui-widget-header">
<th><?php echo $this->Paginator->sort('Name.family', _txt('fd.name'));
?></th>
@@ -93,8 +92,7 @@
<th><?php echo $this->Paginator->sort('ou', _txt('fd.ou')); ?></th>
<th><?php echo $this->Paginator->sort('title', _txt('fd.title'));
?></th>
<th><?php echo $this->Paginator->sort('affiliation',
_txt('fd.affiliation')); ?></th>
- <th><?php echo $this->Paginator->sort('organization_id',
_txt('fd.organization_id')); ?></th>
- <th><?php echo _txt('fd.actions'); ?></th>
+ <th style="width:70px"><?php echo _txt('fd.actions'); ?></th>
</tr>
</thead>
@@ -115,10 +113,7 @@
<td><?php echo Sanitize::html($p['OrgIdentity']['ou']); ?></td>
<td><?php echo Sanitize::html($p['OrgIdentity']['title']); ?></td>
<td><?php if(isset($p['OrgIdentity']['affiliation'])) print
_txt('en.affil', null, $p['OrgIdentity']['affiliation']); ?></td>
- <td><?php if($p['OrgIdentity']['organization_id'] != "") print
$this->Html->link($p['OrgIdentity']['organization_id'],
-
array('controller' => 'organizations',
-
'action' => 'view',
-
$p['OrgIdentity']['organization_id'])); ?></td>
+
<td>
<?php
if($permissions['edit'])
- [comanage-dev] r512 - in registry/trunk/app: Controller View/OrgIdentities, svnlog, 05/03/2013
Archive powered by MHonArc 2.6.16.