amm-dev-tem team mailing list archive
-
amm-dev-tem team
-
Mailing list archive
-
Message #00001
[Branch ~amm-dev-tem/amm/trunk] Rev 23: deleted 'related members' in 'view' action of 'Formulas'
------------------------------------------------------------
revno: 23
committer: The Whole Life To Learn <thewholelifetolearn@xxxxxxxxx>
branch nick: sources
timestamp: Mon 2011-05-30 16:40:45 +0200
message:
deleted 'related members' in 'view' action of 'Formulas'
modified:
app/views/formulas/view.ctp
--
lp:amm
https://code.launchpad.net/~amm-dev-tem/amm/trunk
Your team AMM dev team is subscribed to branch lp:amm.
To unsubscribe from this branch go to https://code.launchpad.net/~amm-dev-tem/amm/trunk/+edit-subscription
=== modified file 'app/views/formulas/view.ctp'
--- app/views/formulas/view.ctp 2011-05-29 20:18:38 +0000
+++ app/views/formulas/view.ctp 2011-05-30 14:40:45 +0000
@@ -28,42 +28,4 @@
<li><?php echo $this->Html->link(__('List Members', true), array('controller' => 'members', 'action' => 'index')); ?> </li>
<li><?php echo $this->Html->link(__('New Member', true), array('controller' => 'members', 'action' => 'add')); ?> </li>
</ul>
-</div>
-<div class="related">
- <h3><?php __('Related Members');?></h3>
- <?php if (!empty($formula['Member'])):?>
- <table cellpadding = "0" cellspacing = "0">
- <tr>
- <th><?php __('Member'); ?></th>
- <th><?php __('Guardian'); ?></th>
- <th><?php __('Emergency'); ?></th>
- <th class="actions"><?php __('Actions');?></th>
- </tr>
- <?php
- $i = 0;
- foreach ($formula['Member'] as $member):
- $class = null;
- if ($i++ % 2 == 0) {
- $class = ' class="altrow"';
- }
- ?>
- <tr<?php echo $class;?>>
- <td><?php echo $member['person_id'];?></td>
- <td><?php echo $member['guardian1_id'].' '.$member['guardian2_id'];?></td>
- <td><?php echo $member['emergency1_id'].' '.$member['emergency2_id'];?></td>
- <td class="actions">
- <?php echo $this->Html->link(__('View', true), array('controller' => 'members', 'action' => 'view', $member['id'])); ?>
- <?php echo $this->Html->link(__('Edit', true), array('controller' => 'members', 'action' => 'edit', $member['id'])); ?>
- <?php echo $this->Html->link(__('Delete', true), array('controller' => 'members', 'action' => 'delete', $member['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $member['id'])); ?>
- </td>
- </tr>
- <?php endforeach; ?>
- </table>
-<?php endif; ?>
-
- <div class="actions">
- <ul>
- <li><?php echo $this->Html->link(__('New Member', true), array('controller' => 'members', 'action' => 'add'));?> </li>
- </ul>
- </div>
-</div>
+</div>
\ No newline at end of file