comanage-dev - [comanage-dev] r555 - in registry/trunk/app: Lib View/CoPetitions
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r555 - in registry/trunk/app: Lib View/CoPetitions
- Date: Mon, 8 Jul 2013 17:17:38 -0400
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: benno
Date: 2013-07-08 17:17:38 -0400 (Mon, 08 Jul 2013)
New Revision: 555
Modified:
registry/trunk/app/Lib/lang.php
registry/trunk/app/View/CoPetitions/petition-attributes.inc
Log:
Display "Self Signup" in petition history for Actor (CO-632)
Modified: registry/trunk/app/Lib/lang.php
===================================================================
--- registry/trunk/app/Lib/lang.php 2013-07-08 21:10:19 UTC (rev 554)
+++ registry/trunk/app/Lib/lang.php 2013-07-08 21:17:38 UTC (rev 555)
@@ -367,6 +367,7 @@
'fd.action' => 'Action',
'fd.actions' => 'Actions',
'fd.actor' => 'Actor',
+ 'fd.actor.self' => 'Self Signup',
'fd.address' => 'Address',
// The next set must be named fd.model.validation-field
'fd.address.country' => 'Country',
Modified: registry/trunk/app/View/CoPetitions/petition-attributes.inc
===================================================================
--- registry/trunk/app/View/CoPetitions/petition-attributes.inc 2013-07-08
21:10:19 UTC (rev 554)
+++ registry/trunk/app/View/CoPetitions/petition-attributes.inc 2013-07-08
21:17:38 UTC (rev 555)
@@ -187,7 +187,7 @@
<?php foreach ($co_petitions[0]['CoPetitionHistoryRecord'] as $hr):
?>
<tr class="line<?php print ($l % 2); $l++; ?>">
<td><?php print $hr['action']; ?></td>
- <td><?php print generateCn($hr['ActorCoPerson']['Name']); ?></td>
+ <td><?php print (!empty($hr['ActorCoPerson']['Name']) ?
generateCn($hr['ActorCoPerson']['Name']) : _txt('fd.actor.self')); ?></td>
<td><?php print $hr['comment']; ?></td>
<td><?php print $this->Time->nice($hr['created']); ?></td>
</tr>
- [comanage-dev] r555 - in registry/trunk/app: Lib View/CoPetitions, svnlog, 07/08/2013
Archive powered by MHonArc 2.6.16.