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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Mon, 24 Dec 2007 18:36:44 -0000


raeburn		Mon Dec 24 13:36:44 2007 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  Include help item in breadcrumb row if user has group management priv.
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.71 loncom/interface/loncoursegroups.pm:1.72
--- loncom/interface/loncoursegroups.pm:1.71	Wed Dec 12 20:08:47 2007
+++ loncom/interface/loncoursegroups.pm	Mon Dec 24 13:36:44 2007
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.71 2007/12/13 01:08:47 raeburn Exp $
+# $Id: loncoursegroups.pm,v 1.72 2007/12/24 18:36:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -148,7 +148,11 @@
     &Apache::lonhtmlcommon::add_breadcrumb
         ({href=>"/adm/coursegroups",
           text=>"Groups"});
-    $r->print(&Apache::lonhtmlcommon::breadcrumbs('Groups'));
+    my $helpitem;
+    if ($manage_permission) {
+        $helpitem = 'Creating_Groups';
+    }
+    $r->print(&Apache::lonhtmlcommon::breadcrumbs('Groups',$helpitem));
     &display_groups($r,$cdom,$cnum,$functions,$idx,$view_permission,
 		    $manage_permission,$action,$state,$gpterm,$ucgpterm,
 		    $crstype);