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

Make justification visible again in Remove Course Requests.

parent b7bed849
Branches
Tags
No related merge requests found
......@@ -700,25 +700,6 @@ document.formSessionId = '<?php echo $this->formSessionId; ?>';
<?php if (!in_array($this->request->getType(), array('AddACEToCourse', 'RemoveACEFromCourse', 'ChangeACE'))) { ?>
<div class="main_section">
<h2 class="required">
Justification
<?php if ($this->request->getType() == 'NewCourseWithACE') { ?>
for new course
<?php } else if ($this->request->getType() == 'AddACEAndChangeCourse') { ?>
for change to an existing course
<?php } ?>
</h2>
<fieldset>
<label>
<textarea name="request[justification]" class="mceEditor"><?php echo $this->request->getJustification(); ?></textarea>
</label>
</fieldset>
</div>
<?php } ?>
......@@ -757,6 +738,26 @@ document.formSessionId = '<?php echo $this->formSessionId; ?>';
<?php if (!in_array($this->request->getType(), array('AddACEToCourse', 'RemoveACEFromCourse', 'ChangeACE'))) { ?>
<div class="main_section">
<h2 class="required">
Justification
<?php if ($this->request->getType() == 'NewCourseWithACE') { ?>
for new course
<?php } else if ($this->request->getType() == 'AddACEAndChangeCourse') { ?>
for change to an existing course
<?php } ?>
</h2>
<fieldset>
<label>
<textarea name="request[justification]" class="mceEditor"><?php echo $this->request->getJustification(); ?></textarea>
</label>
</fieldset>
</div>
<?php } ?>
<?php
if (in_array($this->request->getType(), array('NewCourseWithACE', 'AddACEToCourse', 'AddACEAndChangeCourse', 'ChangeACE'))) {
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment