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

Remove the edit link and decision form from the preview changes screen

parent e70c0637
Branches
Tags
No related merge requests found
......@@ -158,14 +158,13 @@ $this->layout()->breadcrumbs = array($breadcrumb . ': ' . $this->course->getCour
<?php if ($this->nextRequestId > 0) { ?>
<a id="nextRequestLink" href="<?php echo $this->url(array('id' => $this->nextRequestId)); ?>">Next--&gt;</a>
<?php } ?>
<?php } ?>
<?php if($this->canEdit) { ?>
<div id="editLink">
<a href="<?php echo $this->baseUrl(); ?>/requests/edit/load/id/<?php echo $this->request->getId(); ?>/role/<?php echo $this->lastRoleId; ?>/list/<?php echo $this->lastList; ?>">-Edit-</a>
</div>
<?php } ?>
<?php if ($this->action) { ?>
<form id="decisionForm" action="<?php echo $this->baseUrl(); ?>/requests/index/decide.post">
<?php echo $this->formHidden('returnUrl', '/courses/view/index/id/' . $this->request->getId()); ?>
......@@ -174,5 +173,7 @@ $this->layout()->breadcrumbs = array($breadcrumb . ': ' . $this->course->getCour
</form>
<?php } ?>
<?php } ?>
<div class="clear"></div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment