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

Re-insert the bulletin preview sidebar that was lost in the switch to the new templates.

parent dbf62f12
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,6 @@ class Courses_EditController extends App_Controller_Action ...@@ -15,7 +15,6 @@ class Courses_EditController extends App_Controller_Action
$this->view->errors = $session->errors; $this->view->errors = $session->errors;
$layout = Zend_Layout::getMvcInstance(); $layout = Zend_Layout::getMvcInstance();
$layout->sidebar = $this->view->render('edit/bulletin-preview.phtml');
} }
public function editPostAction() public function editPostAction()
......
...@@ -4,8 +4,13 @@ ...@@ -4,8 +4,13 @@
<?php $this->headScript()->appendFile($this->baseUrl() . '/javascript/courses/edit.js'); ?> <?php $this->headScript()->appendFile($this->baseUrl() . '/javascript/courses/edit.js'); ?>
<?php $this->layout()->breadcrumbs = array('Editing: ' . $this->course->getCourseCode() . ' (' . $this->request->getTypeDescription() . ')'); ?> <?php $this->layout()->breadcrumbs = array('Editing: ' . $this->course->getCourseCode() . ' (' . $this->request->getTypeDescription() . ')'); ?>
<form action="<?php echo $this->url(array('action' => 'edit.post')); ?>" enctype="multipart/form-data" method="post">
<div class="one_col left">
<?php echo $this->partial('edit/bulletin-preview.phtml', $this); ?>
</div>
<div class="three_col right">
<form action="<?php echo $this->url(array('action' => 'edit.post')); ?>" enctype="multipart/form-data" method="post">
...@@ -1073,4 +1078,5 @@ if (in_array($this->request->getType(), array('NewCourseWithACE', 'AddACEToCours ...@@ -1073,4 +1078,5 @@ if (in_array($this->request->getType(), array('NewCourseWithACE', 'AddACEToCours
<input type="submit" value="Preview" /> <input type="submit" value="Preview" />
<input id="cancel_request" type="submit" name="submitType" value="Cancel" /> <input id="cancel_request" type="submit" name="submitType" value="Cancel" />
</form> </form>
\ No newline at end of file </div>
\ No newline at end of file
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
} }
#creqMain {
width: 720px;
}
#aceSection li { #aceSection li {
margin-bottom: 1em; margin-bottom: 1em;
...@@ -80,7 +77,7 @@ body #creqMain .required { ...@@ -80,7 +77,7 @@ body #creqMain .required {
div.main_section { div.main_section {
background-color: #eee; background-color: #eee;
border: 2px solid #ccc; border: 2px solid #ccc;
margin-top: 50px; margin-bottom: 50px;
padding: 30px 10px 10px 10px; padding: 30px 10px 10px 10px;
position: relative; position: relative;
} }
......
@CHARSET "UTF-8"; @CHARSET "UTF-8";
#creqMain {width: 720px;}
#decisionMessage {margin: 1em; padding: 0.5em; text-align: center; color: #060; background-color: #cfc; border: 1px solid #4c4;} #decisionMessage {margin: 1em; padding: 0.5em; text-align: center; color: #060; background-color: #cfc; border: 1px solid #4c4;}
......
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