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

raeburn lon-capa-cvs@mail.lon-capa.org
Sat, 08 Jul 2006 01:16:33 -0000


raeburn		Fri Jul  7 21:16:33 2006 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  Adding element to query string so breadcrumbs display on group home page in appropriate context. Improved wording regarding the total disk quota for course groups. 
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.50 loncom/interface/loncoursegroups.pm:1.51
--- loncom/interface/loncoursegroups.pm:1.50	Fri Jul  7 17:57:58 2006
+++ loncom/interface/loncoursegroups.pm	Fri Jul  7 21:16:30 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.50 2006/07/07 21:57:58 albertel Exp $
+# $Id: loncoursegroups.pm,v 1.51 2006/07/08 01:16:30 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -273,7 +273,7 @@
                     if ($action eq 'modify' || $action eq 'delete') {
                         $link .= $group;
                     } else {
-                        $link .= $group.'/smppg';
+                        $link .= $group.'/smppg?ref=grouplist';
                     }
                     $link .= '">'.$lt{$action}.'</a>';
                     if ($action eq 'view') { 
@@ -330,7 +330,7 @@
                     my $description = &unescape(
                                         $group_info{description});
                     my ($uname,$udom) = split(/:/,$group_info{creator});
-                    $r->print('<font size="+1"><a href="/adm/'.$udom.'/'.$uname.'/'.$group.'/smppg">'.$group,'</a><font><br /><small>'.$description.'</small><br /><br />');
+                    $r->print('<font size="+1"><a href="/adm/'.$udom.'/'.$uname.'/'.$group.'/smppg?ref=grouplist">'.$group,'</a><font><br /><small>'.$description.'</small><br /><br />');
                 }
             }
         } else {
@@ -1288,7 +1288,7 @@
     $r->print('&nbsp;<input type="text" name="quota" size="4" />Mb');
     if ($action eq 'create') {
         $r->print('<br />'.
-                  &mt('A total of [_1] Mb is shared between all [_2]s in the '.
+                  &mt('A total of [_1] Mb can be divided amongst all [_2]s in the '.
                   '[_3], and [_4] Mb are currently unallocated.',$crsquota,
                   $gpterm,lc($crstype),$freespace));
     } else {