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

Fix so that comments are marked as viewed when using next and previous links

parent 7d4ca8c5
No related branches found
No related tags found
No related merge requests found
......@@ -153,10 +153,10 @@ $this->layout()->breadcrumbs = array($breadcrumb . ': ' . $this->course->getCour
</div>
</div>
<?php if ($this->prevRequestId > 0) { ?>
<a id="prevRequestLink" href="<?php echo $this->url(array('id' => $this->prevRequestId)); ?>">&lt;--Prev</a>
<a id="prevRequestLink" href="<?php echo $this->url(array('module' => 'requests', 'id' => $this->prevRequestId)); ?>">&lt;--Prev</a>
<?php } ?>
<?php if ($this->nextRequestId > 0) { ?>
<a id="nextRequestLink" href="<?php echo $this->url(array('id' => $this->nextRequestId)); ?>">Next--&gt;</a>
<a id="nextRequestLink" href="<?php echo $this->url(array('module' => 'requests', 'id' => $this->nextRequestId)); ?>">Next--&gt;</a>
<?php } ?>
<?php if($this->canEdit) { ?>
......
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