[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm mydesk.tab
raeburn
raeburn at source.lon-capa.org
Sat Oct 7 19:14:49 EDT 2017
raeburn Sat Oct 7 23:14:49 2017 EDT
Modified files:
/loncom/interface mydesk.tab lonmenu.pm
Log:
- Add settings item to inline menu in Authoring Space to provide access to
user preferences for ad hoc co-author role for DCs, and use of CodeMirror.
Index: loncom/interface/mydesk.tab
diff -u loncom/interface/mydesk.tab:1.175 loncom/interface/mydesk.tab:1.176
--- loncom/interface/mydesk.tab:1.175 Sat Oct 7 22:20:20 2017
+++ loncom/interface/mydesk.tab Sat Oct 7 23:14:49 2017
@@ -1,4 +1,4 @@
-# $Id: mydesk.tab,v 1.175 2017/10/07 22:20:20 raeburn Exp $
+# $Id: mydesk.tab,v 1.176 2017/10/07 23:14:49 raeburn Exp $
# primary menu links
# Apache::lonmenu::primary_menu() generates a menu from these elements
# prim: item belongs to primary menu
@@ -95,6 +95,7 @@
scnd:/priv/[udom]/[uname]/:::Authoring Space:author
scnd:/res/[udom]/[uname]/?launch=1:::Browse:author
scnd:/adm/createuser:::People:cca
+scnd::::Settings:author
# secondary sub-menu links
# Apache::lonmenu::secondary_menu() generates a sub-menus from these elements
@@ -117,6 +118,8 @@
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:Editing Options:author
+scndsub:Settings:/adm/preferences?action=changedomcoord:Domain Access:cca
scndsub:People:/adm/createuser:Users:viewusers
scndsub:People:/adm/coursegroups:Groups:vcg
scndsub:Public:/public/[cdom]/[cnum]/syllabus:Syllabus:crsedit
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.482 loncom/interface/lonmenu.pm:1.483
--- loncom/interface/lonmenu.pm:1.482 Sat Oct 7 22:20:19 2017
+++ loncom/interface/lonmenu.pm Sat Oct 7 23:14:49 2017
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.482 2017/10/07 22:20:19 raeburn Exp $
+# $Id: lonmenu.pm,v 1.483 2017/10/07 23:14:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -500,6 +500,8 @@
next if ($item->[2] eq 'vcg' && !$canviewgrps);
next if ($item->[2] eq 'crsedit' && !$canedit && !$canvieweditor);
next if ($item->[2] eq 'params' && !$canmodpara && !$canviewpara);
+ next if ($item->[2] eq 'author' && !$author);
+ next if ($item->[2] eq 'cca' && !$canmodifycoauthor);
push(@scndsub,$item);
}
}
More information about the LON-CAPA-cvs
mailing list