Skip to content
Snippets Groups Projects
Commit a537b352 authored by Tim Steiner's avatar Tim Steiner
Browse files

Add course offerings to the public view page.

parent 288a2e27
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,11 @@
if (count($this->requestComments[$request->getId()]) > 0) {
echo $this->collectionTable(
$this->requestComments[$request->getId()],
array('visibility' => 'Type', 'user' => 'Who', 'time' => 'Date', 'text' => 'Comment')
array('visibility' => 'Type', 'user' => 'Who', 'time' => 'Date', 'text' => 'Comment'),
null, null,
array(
'time' => array('type' => 'Zend_Date', 'format' => 'MMM d, yyyy')
)
);
} else { ?>
<div>No comments for this request</div>
......@@ -124,3 +128,30 @@
</div>
<?php } ?>
<div id="offeringsContainer" class="titled_box">
<div class="box_shadow_2">
<div class="tr"></div>
<div class="tl">
<h2>
Offerings
<img src="<?php echo $this->baseUrl(); ?>/images/index/arrow1.png" alt="arrow 1" class="toggle_arrow" />
</h2>
<h3><em></em></h3>
</div>
<div class="bl"></div>
</div>
<div class="content">
<?php echo $this->collectionTable(
$this->offerings,
array('semesterCode' => 'Semester', 'section' => 'Section', 'building' => 'Building', 'room' => 'Room', 'startTime' => 'Start Time', 'endTime' => 'End Time', 'days' => 'Days', 'instructors' => 'Instructors'),
null, null,
array(
'startTime' => array('type' => 'Zend_Date', 'format' => 'h:mm a'),
'endTime' => array('type' => 'Zend_Date', 'format' => 'h:mm a')
)
); ?>
</div>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment