--- loncom/interface/mydesk.tab 2013/05/11 00:19:45 1.149.2.13 +++ loncom/interface/mydesk.tab 2013/05/26 22:54:01 1.149.2.15 @@ -14,17 +14,21 @@ # - nonewmsg: only display if there aren't any new messages # - roles: show Roles instead of Courses # - courses: show Courses instead of Roles -# prim:link:icon:alt:text:condition -prim:/adm/about.html:/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public -prim:/adm/communicate:::Messages:nonewmsg -prim:/adm/communicate:::New Messages:newmsg -prim::::Personal: -prim:/adm/roles:::Roles:roles -prim:/adm/roles:::Courses:courses -prim:/adm/helpdesk:::Help:onlypublic -prim:/adm/roles:::Log In:onlypublic -prim::::Help: -prim:/adm/logout:::Logout: +# position: where link is to be displayed +# possible positions: +# - empty (will be displayed on right side -- default location). +# - left +# prim:link:icon:alt:text:condition:position +prim::::Personal::left +prim:/adm/about.html:/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:public: +prim:/adm/communicate:::Messages:nonewmsg: +prim:/adm/communicate:::New Messages:newmsg: +prim:/adm/roles:::Roles:roles: +prim:/adm/roles:::Courses:courses: +prim:/adm/helpdesk:::Help:onlypublic: +prim:/adm/roles:::Log In:onlypublic: +prim::::Help:: +prim:/adm/logout:::Logout:: # primary sub-menu links # Apache::lonmenu::primary_menu() generates a sub-menus from these elements @@ -40,6 +44,7 @@ prim:/adm/logout:::Logout: # - wishlist: link displayed if user has privileges to use Stored Links # - reqcrs: link displayed if user can request Course or Community creation # primsub:parent:link:text:condition +primsub:Personal:/adm/[domain]/[user]/aboutme:Information: primsub:Personal:/adm/preferences:Preferences: primsub:Personal:/adm/portfolio:Portfolio:portfolio primsub:Personal:/adm/wishlist:Stored Links:wishlist @@ -56,12 +61,13 @@ primsub:Personal:/adm/[domain]/[user]/_r # condition: when to show link, secondary_menu will act upon this # possible conditions: # - empty: -# - showsyllabus: course context and user has mdc priv, or syllabus exists +# - showsyllabus: course context: not mdc and syllabus exists # (and not included in course content). -# - showfeeds: course context and user has mdc priv, or course feeds exist +# - showfeeds: course context: not mdc and course feeds exist # - always: show this link even if user hasn't selected a role # - mdcCourse: user can modify content in a Course # - mdcCommunity: user can modify content in a Community +# - mdc: user can modify content in Course/Community # - vgr: user can view grades # - cst: user can grant/revoke student/member roles # - opa: user can set assessment parameters @@ -77,13 +83,14 @@ scnd:/adm/navmaps?postdata=[url]&pos scnd:/adm/quickgrades:::Grades:nvgr scnd:/adm/coursedocs?command=contents:::Course Editor:mdcCourse scnd:/adm/coursedocs?command=contents:::Community Editor:mdcCommunity +scnd:/adm/whatsnew:::What's New:whn scnd::::Grades:vgr scnd::::People:cst scnd::::Settings:opa scnd:/adm/viewclasslist:::People:ncst scnd:/adm/coursegroups:::Groups:nvcg scnd:/adm/slotrequest?command=manageresv:::Reservations:nmgr -scnd:/adm/whatsnew:::What's New:whn +scnd::::Public:mdc scnd:/public/[cdom]/[cnum]/syllabus:::Syllabus:showsyllabus scnd:/adm/[cdom]/[cnum]/_rss.html:::Feeds:showfeeds scnd:/adm/roles:::Roles: @@ -100,6 +107,7 @@ scnd:/adm/createuser:::People:cca # condition: when to show link, secondary_menu() will act based on this # possible conditions: # - empty: link displayed if user is authenticated +# - mdc: user can modify content in Course/Community # - vgr: link displayed if user can view grades # - opa: link displayed if user can set assessment parameters # - mgr: link displayed if user can manage grades @@ -113,6 +121,8 @@ scndsub:Settings:/adm/parmset:Content Se scndsub:Settings:/adm/slotrequest?command=showslots:Slots:mgr scndsub:People:/adm/createuser:Users:cst scndsub:People:/adm/coursegroups:Groups:vcg +scndsub:Public:/public/[cdom]/[cnum]/syllabus:Syllabus:mdc +scndsub:Public:/adm/[cdom]/[cnum]/_rss.html:Feeds:mdc # Categories for main menu # cat:column,row:title