[LON-CAPA-cvs] cvs: loncom /interface lonviewclasslist.pm

raeburn raeburn at source.lon-capa.org
Fri Mar 27 13:30:22 EDT 2015


raeburn		Fri Mar 27 17:30:22 2015 EDT

  Modified files:              
    /loncom/interface	lonviewclasslist.pm 
  Log:
  - Text used determined by context (either Community or Course): one more
    text fragment.
  
  
Index: loncom/interface/lonviewclasslist.pm
diff -u loncom/interface/lonviewclasslist.pm:1.17 loncom/interface/lonviewclasslist.pm:1.18
--- loncom/interface/lonviewclasslist.pm:1.17	Tue Mar 17 00:08:48 2015
+++ loncom/interface/lonviewclasslist.pm	Fri Mar 27 17:30:22 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to display the classlist 
 #
-# $Id: lonviewclasslist.pm,v 1.17 2015/03/17 00:08:48 raeburn Exp $
+# $Id: lonviewclasslist.pm,v 1.18 2015/03/27 17:30:22 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -293,8 +293,10 @@
     } else {
         $title = &mt($titleplural.' in any section');
         $listtype = 'in the course';
+        if ($crstype eq 'Community') {
+            $listtype = 'in the community';
+        }
     }
-
     if ($viewsettings->{'student_opt_in'}) {
         if ($env{'request.role'} =~ /^st/)  {
             $Str .= &print_roster_form($crstype);




More information about the LON-CAPA-cvs mailing list