Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r350 - registry/trunk/app/View/CoPeople

Subject: COmanage Developers List

List archive

[comanage-dev] r350 - registry/trunk/app/View/CoPeople


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r350 - registry/trunk/app/View/CoPeople
  • Date: Mon, 27 Aug 2012 14:57:32 -0400

Author: marie
Date: 2012-08-27 14:57:32 -0400 (Mon, 27 Aug 2012)
New Revision: 350

Modified:
registry/trunk/app/View/CoPeople/fields.inc
Log:
co360 - moves Autogenerate Identifiers button from merge to be with other
buttons

Modified: registry/trunk/app/View/CoPeople/fields.inc
===================================================================
--- registry/trunk/app/View/CoPeople/fields.inc 2012-08-27 16:22:53 UTC (rev
349)
+++ registry/trunk/app/View/CoPeople/fields.inc 2012-08-27 18:57:32 UTC (rev
350)
@@ -77,11 +77,13 @@
}
else
{
+ // Back button
print $this->Html->link(_txt('op.back'),
array('controller' => 'co_people', 'action' =>
'index', 'co' => $cur_co['Co']['id']),
array('class' => 'backbutton'));
}

+ // View History button
if($this->action != "add" && $this->action != "invite") {
print $this->Html->link(
_txt('op.history'),
@@ -94,6 +96,19 @@
);
}

+ // Autogenerate Identifiers button
+ if(!empty($co_identifier_assignments)) {
+ print '<a
+ class="autobutton"
+ title="' . _txt('op.id.auto') . '"
+ onclick="javascript:js_confirm_autogenerate(\'' .
$this->Html->url(array('controller' => 'identifiers',
+
'action' => 'assign',
+
'copersonid' => $co_people[0]['CoPerson']['id'],
+
'co' => $cur_co['Co']['id'])) . '\')";>'
+ . _txt('op.id.auto')
+ . "</a>\n";
+ }
+
// Line number, for rendering
$l = 1;
?>
@@ -346,19 +361,6 @@
</tbody>
</table>
</div>
- <?php
- if(!empty($co_identifier_assignments)) {
- print '<a
- class="autobutton"
- title="' . _txt('op.id.auto') . '"
- onclick="javascript:js_confirm_autogenerate(\'' .
$this->Html->url(array('controller' => 'identifiers',
-
'action' => 'assign',
-
'copersonid' => $co_people[0]['CoPerson']['id'],
-
'co' => $cur_co['Co']['id'])) . '\')";>'
- . _txt('op.id.auto')
- . "</a>\n";
- }
- ?>
<?php if($this->action == "compare"): ?>
<div style="float:left">
<table>



  • [comanage-dev] r350 - registry/trunk/app/View/CoPeople, svnlog, 08/27/2012

Archive powered by MHonArc 2.6.16.

Top of Page