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

www lon-capa-cvs@mail.lon-capa.org
Thu, 12 Dec 2002 18:24:05 -0000


www		Thu Dec 12 13:24:05 2002 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Last part of Bug #963 - navmaps should not provide link to directly jump
  to uploaded sequences.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.121 loncom/interface/lonnavmaps.pm:1.122
--- loncom/interface/lonnavmaps.pm:1.121	Mon Dec  2 09:22:50 2002
+++ loncom/interface/lonnavmaps.pm	Thu Dec 12 13:24:05 2002
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.121 2002/12/02 14:22:50 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.122 2002/12/12 18:24:05 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -486,6 +486,10 @@
                     '"';
 
                 my $title = $curRes->compTitle();
+                if ($src=~/^\/uploaded\//) {
+		    $nonLinkedText=$title;
+                    $title='';
+                }
                 my $partLabel = "";
                 my $newBranchText = "";