comanage-dev - [comanage-dev] r280 - registry/trunk/app/View/CoPetitions
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r280 - registry/trunk/app/View/CoPetitions
- Date: Thu, 12 Apr 2012 09:27:20 -0400
Author: benno
Date: 2012-04-12 09:27:20 -0400 (Thu, 12 Apr 2012)
New Revision: 280
Modified:
registry/trunk/app/View/CoPetitions/fields.inc
Log:
Don't render irrelevant fields during add (CO-208)
Modified: registry/trunk/app/View/CoPetitions/fields.inc
===================================================================
--- registry/trunk/app/View/CoPetitions/fields.inc 2012-04-09 14:50:39
UTC (rev 279)
+++ registry/trunk/app/View/CoPetitions/fields.inc 2012-04-12 13:27:20
UTC (rev 280)
@@ -66,6 +66,7 @@
// refactored at some point.
?>
+<?php if($this->action != 'add'): ?>
<h2 class="ui-state-default"><?php print _txt('ct.co_petitions.1'); ?></h2>
<table id="<?php print $this->action; ?>_co_petition" class="ui-widget">
@@ -144,6 +145,7 @@
</tr>
</tbody>
</table>
+<?php endif; // action == add ?>
<?php
// Enumerate over all attributes defined for the enrollment flow
associated with this petition.
@@ -264,6 +266,7 @@
</tbody>
</table>
+<?php if($this->action != 'add'): ?>
<h2 class="ui-state-default"><?php print _txt('fd.history.pt'); ?></h2>
<table id="<?php print $this->action; ?>_co_petition_attrs"
class="ui-widget">
@@ -285,3 +288,4 @@
<?php endforeach; // CoPetitionHistoryRecord ?>
</tbody>
</table>
+<?php endif; // action == add ?>
\ No newline at end of file
- [comanage-dev] r280 - registry/trunk/app/View/CoPetitions, svnlog, 04/12/2012
Archive powered by MHonArc 2.6.16.