From 149135adeb8b4f2ccf533647ece2f82b4a3162c4 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Tue, 4 Sep 2007 20:12:48 +0000
Subject: [PATCH] Unviewed requests now have brighter view/edit links.

---
 application/views/home.xhtml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/views/home.xhtml b/application/views/home.xhtml
index e40c742e..1ecec082 100755
--- a/application/views/home.xhtml
+++ b/application/views/home.xhtml
@@ -199,9 +199,9 @@
                         <?php
                         $lastViewTime = RequestViewTimes::getInstance()->getViewTimeForUserAndRequest($this->user, $request);
                         if ($lastViewTime instanceof Nmc_Date_Null) {
-                            $linkClass = 'Viewed';
-                        } else {
                             $linkClass = 'New';
+                        } else {
+                            $linkClass = 'Viewed';
                         }
                         ?>
                         <a class="requestLink<?php echo $linkClass; ?>"
-- 
GitLab