[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonmenu.pm mydesk.tab
wenzelju
wenzelju@source.lon-capa.org
Wed, 16 Dec 2009 14:21:59 -0000
wenzelju Wed Dec 16 14:21:59 2009 EDT
Modified files:
/loncom/interface loncommon.pm lonmenu.pm mydesk.tab
Log:
Added new style for primary menu item 'New Messages' to highlight it more.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.928 loncom/interface/loncommon.pm:1.929
--- loncom/interface/loncommon.pm:1.928 Wed Dec 16 13:00:45 2009
+++ loncom/interface/loncommon.pm Wed Dec 16 14:21:59 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.928 2009/12/16 13:00:45 bisitz Exp $
+# $Id: loncommon.pm,v 1.929 2009/12/16 14:21:59 wenzelju Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5987,6 +5987,11 @@
margin: 0.2em 0 0 0;
}
+span.LC_new_message{
+ font-weight:bold;
+ color: darkred;
+}
+
ol#LC_PathBreadcrumbs {
margin: 0;
}
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.309 loncom/interface/lonmenu.pm:1.310
--- loncom/interface/lonmenu.pm:1.309 Thu Dec 3 14:27:16 2009
+++ loncom/interface/lonmenu.pm Wed Dec 16 14:21:59 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.309 2009/12/03 14:27:16 bisitz Exp $
+# $Id: lonmenu.pm,v 1.310 2009/12/16 14:21:59 wenzelju Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -150,6 +150,9 @@
} else { # textual Link
$link = &mt($$menuitem[3]);
}
+ if($$menuitem[4] eq 'newmsg'){ #special style for New Messages
+ return '<li><a href="'.$$menuitem[0].'"><span class="LC_new_message">'.$link.'</span></a></li>';
+ }
return '<li><a href="'.$$menuitem[0].'">'.$link.'</a></li>';
}
Index: loncom/interface/mydesk.tab
diff -u loncom/interface/mydesk.tab:1.124 loncom/interface/mydesk.tab:1.125
--- loncom/interface/mydesk.tab:1.124 Mon Nov 30 06:23:32 2009
+++ loncom/interface/mydesk.tab Wed Dec 16 14:21:59 2009
@@ -16,8 +16,8 @@
# - courses: show Courses instead of Roles
# prim:link:icon:alt:text:condition
prim:gotop('/adm/about.html'):/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public
-prim:gotop('/adm/communicate'):::Message:nonewmsg
-prim:gotop('/adm/communicate'):::Message (new):newmsg
+prim:gotop('/adm/communicate'):::Messages:nonewmsg
+prim:gotop('/adm/communicate'):::New Messages:newmsg
prim:gotop('/adm/roles'):::Roles:roles
prim:gotop('/adm/roles'):::Courses:courses
prim:gotop('/adm/roles'):::Log In:onlypublic