Skip to content

Commit

Permalink
Clean up the view on the track view page a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcurioso committed Jun 4, 2012
1 parent 865ec69 commit ca6732c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion View/Talks/admin_add.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
);

echo $this->Form->input('event_id');
echo $this->Form->input('speaker_id');
echo $this->Form->input('speaker_id', array('empty' => true));
echo $this->Form->input('topic');
echo $this->Form->input('abstract');
echo $this->Form->input('start_time',$dateOptions);
Expand Down
2 changes: 1 addition & 1 deletion View/Talks/admin_edit.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

echo $this->Form->input('id');
echo $this->Form->input('event_id');
echo $this->Form->input('speaker_id');
echo $this->Form->input('speaker_id', array('empty' => true));
echo $this->Form->input('topic');
echo $this->ContentManagement->richtext('Talk.abstract');
echo $this->Form->input('start_time',$dateOptions);
Expand Down
12 changes: 2 additions & 10 deletions View/Tracks/admin_view.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,11 @@ $this->end();
<table cellpadding = "0" cellspacing = "0">
<tr>
<th><?php echo __('Id'); ?></th>
<th><?php echo __('Event Id'); ?></th>
<th><?php echo __('Speaker Id'); ?></th>
<th><?php echo __('Topic'); ?></th>
<th><?php echo __('Abstract'); ?></th>
<th><?php echo __('Start Time'); ?></th>
<th><?php echo __('End Time'); ?></th>
<th><?php echo __('Duration'); ?></th>
<th><?php echo __('Approved'); ?></th>
<th><?php echo __('Track Id'); ?></th>
<th><?php echo __('Created'); ?></th>
<th><?php echo __('Modified'); ?></th>
<th class="actions"><?php echo __('Actions');?></th>
</tr>
Expand All @@ -86,15 +82,11 @@ $this->end();
foreach ($track['Talk'] as $talk): ?>
<tr>
<td><?php echo $talk['id'];?></td>
<td><?php echo $talk['event_id'];?></td>
<td><?php echo $talk['speaker_id'];?></td>
<td><?php echo $talk['topic'];?></td>
<td><?php echo $talk['abstract'];?></td>
<td><?php echo $talk['start_time'];?></td>
<td><?php echo $talk['end_time'];?></td>
<td><?php echo $talk['duration'];?></td>
<td><?php echo $talk['approved'];?></td>
<td><?php echo $talk['track_id'];?></td>
<td><?php echo $talk['created'];?></td>
<td><?php echo $talk['modified'];?></td>
<td class="actions">
<?php echo $this->Html->link(__('View'), array('controller' => 'talks', 'action' => 'view', $talk['id'])); ?>
Expand Down

0 comments on commit ca6732c

Please sign in to comment.