[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonmsgdisplay.pm

raeburn raeburn at source.lon-capa.org
Tue Sep 8 20:48:17 EDT 2020


raeburn		Wed Sep  9 00:48:17 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  - For 2.11
    Backport 1.192
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.181.2.5 loncom/interface/lonmsgdisplay.pm:1.181.2.6
--- loncom/interface/lonmsgdisplay.pm:1.181.2.5	Fri Jan 10 05:16:30 2020
+++ loncom/interface/lonmsgdisplay.pm	Wed Sep  9 00:48:17 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.181.2.5 2020/01/10 05:16:30 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.181.2.6 2020/09/09 00:48:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -782,11 +782,14 @@
     if ($grouppagelink) {
         &Apache::lonhtmlcommon::add_breadcrumb
             ({href=>$grouppagelink,
-              text=>"Group: $description",
-              title=>"Go to group's home page"},);
+              text=>&mt('Group').": $description",
+              title=>&mt("Go to group's home page"),
+              no_mt=>1,
+             },);
     } else {
         &Apache::lonhtmlcommon::add_breadcrumb
-            ({text=>"Group: $description",});
+            ({text=>&mt('Group').": $description",
+              no_mt=>1,});
     }
     &Apache::lonhtmlcommon::add_breadcrumb
          ({href=>"/adm/email?compose=group&group=".
@@ -799,8 +802,9 @@
                            title=>"E-mails sent"},);
     }
     my $groupheader = &Apache::loncommon::start_page('Group Message');
-    $groupheader .= &Apache::lonhtmlcommon::breadcrumbs
-                ('Group - '.$env{'form.group'}.' Email');
+    $groupheader .= &Apache::lonhtmlcommon::breadcrumbs(
+                                    &mt('Group messages - [_1]',$description),
+                                                        undef,undef,undef,undef,1);
     return $groupheader;
 }
 




More information about the LON-CAPA-cvs mailing list