comanage-dev - [comanage-dev] r623 - in registry/trunk/app: Lib View/CoGroupMembers
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r623 - in registry/trunk/app: Lib View/CoGroupMembers
- Date: Tue, 22 Oct 2013 19:23:58 -0400
Author: marie
Date: 2013-10-22 19:23:58 -0400 (Tue, 22 Oct 2013)
New Revision: 623
Modified:
registry/trunk/app/Lib/lang.php
registry/trunk/app/View/CoGroupMembers/select.ctp
Log:
CO683 - add popup for membership changes for co people who are not active yet
Modified: registry/trunk/app/Lib/lang.php
===================================================================
--- registry/trunk/app/Lib/lang.php 2013-10-22 03:21:21 UTC (rev 622)
+++ registry/trunk/app/Lib/lang.php 2013-10-22 23:23:58 UTC (rev 623)
@@ -466,7 +466,9 @@
'fd.comment' => 'Comment',
'fd.cou' => 'COU',
'fd.cou.nopar' => 'No COUs are available to be assigned parent',
+ 'fd.co_people.status' => 'CO Person Status',
'fd.created' => 'Created',
+
// Demographics fields
'fd.de.persid' => 'Person ID',
'fd.de.gender' => 'Gender',
@@ -658,6 +660,7 @@
'fd.yes' => 'Yes',
// Informational messages
+ 'in.groupmember.select' => 'This change will not take effect until the
person becomes active.',
'in.orgidentities' => 'Organizational Identities represent a person\'s
identity as asserted by a "home" institution, such as their University or a
social identity provider. Reading the documentation before editing them is
advised.',
// Menu
Modified: registry/trunk/app/View/CoGroupMembers/select.ctp
===================================================================
--- registry/trunk/app/View/CoGroupMembers/select.ctp 2013-10-22 03:21:21
UTC (rev 622)
+++ registry/trunk/app/View/CoGroupMembers/select.ctp 2013-10-22 23:23:58
UTC (rev 623)
@@ -22,6 +22,18 @@
* @version $Id$
*/
-->
+<script>
+
+$(document).ready(function () {
+ // Display warning for changes to co people who are not active (CO683)
+ $("input[type='checkbox']").change(function() {
+ if(this.parentElement.previousElementSibling.className != 'Active')
+ generateFlash("<?php print _txt('in.groupmember.select') ?>",
+ "information");
+ });
+});
+
+</script>
<?php
$params = array('title' => _txt('op.grm.edit',
array($cur_co['Co']['name'], $co_group['CoGroup']['name'])));
print $this->element("pageTitle", $params);
@@ -32,7 +44,7 @@
<thead>
<tr class="ui-widget-header">
<th><?php print _txt('fd.name'); ?></th>
- <th><?php print _txt('fd.status'); ?></th>
+ <th><?php print _txt('fd.co_people.status'); ?></th>
<th><?php print _txt('fd.perms'); ?></th>
</tr>
<?php
@@ -60,7 +72,7 @@
'co' => $cur_co['Co']['id']));
?>
</td>
- <td>
+ <td class = "<?php print _txt('en.status', null,
$p['CoPerson']['status']); ?>">
<?php
print _txt('en.status', null, $p['CoPerson']['status']);
?>
- [comanage-dev] r623 - in registry/trunk/app: Lib View/CoGroupMembers, svnlog, 10/22/2013
Archive powered by MHonArc 2.6.16.