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

Unviewed requests now have brighter view/edit links.

parent bb89655f
No related branches found
No related tags found
No related merge requests found
...@@ -199,9 +199,9 @@ ...@@ -199,9 +199,9 @@
<?php <?php
$lastViewTime = RequestViewTimes::getInstance()->getViewTimeForUserAndRequest($this->user, $request); $lastViewTime = RequestViewTimes::getInstance()->getViewTimeForUserAndRequest($this->user, $request);
if ($lastViewTime instanceof Nmc_Date_Null) { if ($lastViewTime instanceof Nmc_Date_Null) {
$linkClass = 'Viewed';
} else {
$linkClass = 'New'; $linkClass = 'New';
} else {
$linkClass = 'Viewed';
} }
?> ?>
<a class="requestLink<?php echo $linkClass; ?>" <a class="requestLink<?php echo $linkClass; ?>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment