--- loncom/interface/mydesk.tab 2016/10/26 14:51:45 1.172 +++ loncom/interface/mydesk.tab 2018/05/08 20:30:12 1.181 @@ -1,3 +1,4 @@ +# $Id: mydesk.tab,v 1.181 2018/05/08 20:30:12 raeburn Exp $ # primary menu links # Apache::lonmenu::primary_menu() generates a menu from these elements # prim: item belongs to primary menu @@ -7,13 +8,15 @@ # text: link text # condition: when to show link, primary_menu will act upon this # possible conditions: -# - empty: link is displayed if user is authenticated -# - public: display link if user is public or authenticated +# - empty: link is displayed if user is authenticated (unless excluded by LTI) +# - public: display link if user is public or authenticated (unless excluded by LTI) # - onlypublic: only show this link to public users -# - newmsg: only display if there are new messages -# - nonewmsg: only display if there aren't any new messages -# - roles: show Roles instead of Courses -# - courses: show Courses instead of Roles +# - newmsg: only display if there are new messages (unless excluded by LTI) +# - nonewmsg: only display if there aren't any new messages (unless excluded by LTI) +# - roles: show Roles instead of Courses (unless LTI) +# - courses: show Courses instead of Roles (unless LTI) +# - notlti: not LTI launch +# - ltiexc: link shown unless LTI config excludes display # position: where link is to be displayed # possible positions: # - empty (will be displayed on right side -- default location). @@ -21,7 +24,7 @@ # 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/menu:::Home:: +prim:/adm/menu:::Home:notlti: prim:/adm/communicate:::Messages:nonewmsg: prim:/adm/communicate:::New Messages:newmsg: prim:/adm/roles:::Roles:roles: @@ -29,7 +32,7 @@ prim:/adm/roles:::Courses:courses: prim:/adm/helpdesk:::Help:onlypublic: prim:/adm/roles:::Log In:onlypublic: prim::::Help:: -prim:/adm/logout:::Logout:: +prim:/adm/logout:::Logout:ltiexc: # primary sub-menu links # Apache::lonmenu::primary_menu() generates a sub-menus from these elements @@ -41,7 +44,7 @@ prim:/adm/logout:::Logout:: # possible conditions: # - empty: link displayed if user is authenticated # - portfolio: link displayed if portfolio access -# - blogs: link displayed if blog access +# - blog: link displayed if blog access # - 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 @@ -63,9 +66,9 @@ primsub:Personal:/adm/[domain]/[user]/_r # possible conditions: # - empty: # - showgroups: user is member of a group -# - showsyllabus: course context and user has mdc priv, or syllabus exists +# - showsyllabus: course context and user has mdc or cev priv, or syllabus exists # (and not included in course content). -# - showfeeds: course context and user has mdc priv, or course feeds exist +# - showfeeds: course context and user has mdc or cev priv, or course feeds exist # - showresv: course context and user cannot view or manage grades, and slots exist # - always: show this link even if user hasn't selected a role # - whn: access what's new @@ -76,25 +79,73 @@ primsub:Personal:/adm/[domain]/[user]/_r # - nvgr: cannot view other people's grades # - mgr: Manage grades # - author: authors (au, ca, aa) -# - cca: Grant/revoke role of co-author (author only) -# prim:link:icon:alt:text:condition +# - cca: Grant/revoke role of co-author (author only) +# - lti: LTI launch -- LTI-specific rules apply +# - notlti: not LTI launch +# - notltimapres: not LTI launch for specific map or resource +# scnd:link:icon:alt:text:condition +scnd::::Personal:lti +scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Contents:notltimapres scnd:/adm/whatsnew:::What's New:whn -scnd:/adm/navmaps?postdata=[url]&postsymb=[symb]:::Contents: scnd:/adm/quickgrades:::Grades:nvgr -scnd:/adm/createuser:::People:viewusers +scnd:[javascript]chat_win();:::Chat:plc +scnd::::Grades:vgr +scnd::::People:viewusers +scnd::::Settings:params scnd:/adm/viewclasslist:::People:noviewusers scnd:/adm/coursegroups:::Groups:showgroups scnd:/adm/slotrequest?command=manageresv:::Reservations:showresv -scnd:/adm/slotrequest?command=showslots:::Slots:vgr -scnd:/adm/grades:::Grades:vgr -scnd:/adm/parmset:::Settings:params +scnd::::Public:crsedit scnd:/public/[cdom]/[cnum]/syllabus:::Syllabus:showsyllabus scnd:/adm/[cdom]/[cnum]/_rss.html:::Feeds:showfeeds -scnd:/adm/roles:::Roles: +scnd:/adm/roles:::Roles:notlti +scnd:/adm/communicate:::Messages:lti +scnd::::Help:lti +scnd:/adm/logout:::Logout:lti scnd:/priv/[udom]/[uname]/:::Authoring Space:author scnd:/res/[udom]/[uname]/?launch=1:::Browse:author scnd:/adm/createuser:::People:cca +scnd::::Settings:author +scnd:[javascript]open_aboutLC();:/adm/lonIcons/minilogo.gif:LON-CAPA Logo:About:lti +# secondary sub-menu links +# Apache::lonmenu::secondary_menu() generates a sub-menus from these elements +# scndsub: item belongs to secondary sub-menu +# parent: name of secondary menu item, for which this is a sub-menu +# link: references the url +# text: link text +# condition: when to show link, secondary_menu() will act based on this +# possible conditions: +# - empty: link displayed if user is authenticated +# - crsedit: link displayed if user can access Course/Community Editor +# - vgr: link displayed if user can view grades +# - params: link displayed if user can set or view assessment parameters +# - mgr: link displayed if user can manage grades +# - viewusers: link displayed if user can either grant/revoke student/member roles or view classlists +# - vcg: link displayed if user can view groups to which he/she does not belong +# - lti: LTI launch -- LTI-specific rules apply +# - lti(portfolio,wishlist,blog): LTI launch -- LTI-specific rules apply in +# addition to access rule for tool itself (portfolio, wishlist or blog) +# scndsub:parent:link:text:condition +scndsub:Personal:/adm/[domain]/[user]/aboutme:Information:lti +scndsub:Personal:/adm/preferences:Preferences:lti +scndsub:Personal:/adm/portfolio:Portfolio:ltiportfolio +scndsub:Personal:/adm/wishlist:Stored Links:ltiwishlist +scndsub:Personal:/adm/announcements:Calendar:lti +scndsub:Personal:/adm/[domain]/[user]/_rss.html:Feeds:ltiblog +scndsub:Grades:/adm/statistics?reportSelected=student_assessment:Assessment Chart:vgr +scndsub:Grades:/adm/statistics:Statistics and Reports:vgr +scndsub:Grades:/adm/classcalc:Spreadsheet:vgr +scndsub:Grades:/adm/grades:Content Grading:vgr +scndsub:Settings:/adm/courseprefs:Course Settings:params +scndsub:Settings:/adm/parmset:Content Settings:params +scndsub:Settings:/adm/slotrequest?command=showslots:Slots:vgr +scndsub:Settings:/adm/preferences?action=authorsettings[returnurl]:Editing Options:author +scndsub:Settings:/adm/preferences?action=changedomcoord[returnurl]:Domain Access:cca +scndsub:People:/adm/createuser:Users:viewusers +scndsub:People:/adm/coursegroups:Groups:vcg +scndsub:Public:/public/[cdom]/[cnum]/syllabus:Syllabus:crsedit +scndsub:Public:/adm/[cdom]/[cnum]/_rss.html:Feeds:crsedit # Categories for main menu # cat:column,row:title @@ -171,6 +222,8 @@ cat:2,6:oth:Other 1:1:nsc:any:roles.png:switch[_2]:role[_1]:go('/adm/roles');:Switch to another user role:rol 1:1:nsc:rcm:roles.png:choose[_2]:role[_2]:go('/adm/roles');:Choose the user role:rol 1:2:clear +1:2:pcev:$crs:docs.png:course[_7]:editor[_1]:go('/adm/coursedocs?command=home');:Edit course contents:crc +1:2:pcev:$cmty:docs.png:communi-[_1]:ty edit[_1]:go('/adm/coursedocs?command=home');:Edit community contents:cmc 1:2:pmdc:$crs:docs.png:course[_7]:editor[_1]:go('/adm/coursedocs?command=home');:Edit course contents:crc 1:2:pmdc:$cmty:docs.png:communi-[_1]:ty edit[_1]:go('/adm/coursedocs?command=home');:Edit community contents:cmc 2:1:clear