[opw-web] Leave the "View applications" button visible to mentors



commit 7de90543a3c62621b8829d5a1b451156f242aa58
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Apr 22 00:15:51 2014 -0400

    Leave the "View applications" button visible to mentors
    
    Even after the program announcement date, it's useful for mentors
    to be able to go conveniently to 'View applications' - (we want to
    allow mentors to sign up on the system late for one thing) so leave the
    button on the front page.

 modules/mod_program_home.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/modules/mod_program_home.php b/modules/mod_program_home.php
index ec646dd..2853f5d 100644
--- a/modules/mod_program_home.php
+++ b/modules/mod_program_home.php
@@ -28,7 +28,10 @@ if ($program_data != null)
 
     if ($core->timestamp >= $program_data['dl_mentor'])
     {
-        $show_mentor = false;
+        // We still show the "View applications" button after dl_mentor
+        // (the program announcement date) because we want to allow mentors
+        // to sign up late in some cases.
+        // $show_mentor = false;
         $show_started = true;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]