[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 19 Dec 2005 21:17:26 -0000
albertel Mon Dec 19 16:17:26 2005 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
- probably best to keep the portfolio/ on the display
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.143 loncom/interface/lonmeta.pm:1.144
--- loncom/interface/lonmeta.pm:1.143 Mon Dec 19 16:13:45 2005
+++ loncom/interface/lonmeta.pm Mon Dec 19 16:17:25 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.143 2005/12/19 21:13:45 albertel Exp $
+# $Id: lonmeta.pm,v 1.144 2005/12/19 21:17:25 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -292,7 +292,7 @@
sub portfolio_display_uri {
my ($uri)=@_;
- $uri =~ s|.*/portfolio(/.*)$|$1|;
+ $uri =~ s|.*/(portfolio/.*)$|$1|;
my ($res_uri,$meta_uri) = ($uri,$uri);
if ($uri =~ /\.meta$/) {