Update of 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards
In directory james.mmbase.org:/tmp/cvs-serv8002

Modified Files:
        tree_top_menu.jsp 
Log Message:
if you cannot create tests, there is little point in showing them in a seperate 
tab


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards


Index: tree_top_menu.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/tree_top_menu.jsp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- tree_top_menu.jsp   28 Aug 2008 16:00:55 -0000      1.51
+++ tree_top_menu.jsp   7 Nov 2008 16:30:21 -0000       1.52
@@ -126,6 +126,9 @@
       <di:include debug="html"
                   page="/education/wizards/menu_items.jspx" />
 
+
+      <di:getsetting setting="new_learnobjects" component="core" 
vartype="list" id="new_learnobjects" write="false" />
+      <c:if test="${mm:contains(new_learnobjects, 'tests')}">
       <di:has editcontext="toetsen">
         <mm:link page="." referids="e?">
           <mm:param name="mode">tests</mm:param>
@@ -134,6 +137,7 @@
           <di:translate key="education.educationmenutests" /></a>
         </mm:link>
       </di:has>
+      </c:if>
 
 
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to