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

Modified Files:
        rateopen2.jsp rateopen.jsp viewanswers.jsp 
Log Message:
renamed 'actions' to something which actually sounds like an action


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


Index: rateopen2.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/tests/rateopen2.jsp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- rateopen2.jsp       3 May 2007 11:34:58 -0000       1.7
+++ rateopen2.jsp       21 Jan 2008 16:13:34 -0000      1.8
@@ -10,7 +10,7 @@
 <[EMAIL PROTECTED] file="/shared/setImports.jsp" %>
 <[EMAIL PROTECTED] file="/education/tests/definitions.jsp" %>
 
-<di:may component="education" action="isTeacherOf" arguments="studentNo">
+<di:may component="education" action="rate" arguments="studentNo">
 
 <mm:import id="correctiontext">
   <mm:node number="$madetest">


Index: rateopen.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/tests/rateopen.jsp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- rateopen.jsp        3 May 2007 11:34:58 -0000       1.9
+++ rateopen.jsp        21 Jan 2008 16:13:34 -0000      1.10
@@ -43,7 +43,7 @@
   </div>
   <div class="contentBody">
 
-<di:may component="education" action="isTeacherOf" arguments="studentNo">
+<di:may component="education" action="rate" arguments="studentNo">
 
 <%-- find user's copybook --%>
 <mm:node number="$studentNo">


Index: viewanswers.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/tests/viewanswers.jsp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- viewanswers.jsp     15 Jan 2008 15:45:54 -0000      1.23
+++ viewanswers.jsp     21 Jan 2008 16:13:34 -0000      1.24
@@ -13,7 +13,7 @@
 
       <jsp:directive.include file="/education/tests/definitions.jsp" />
 
-      <di:may component="education" action="isSelfOrTeacherOf" 
arguments="userNo">
+      <di:may component="education" action="viewAnswers" arguments="userNo">
         <mm:node referid="madetestNo">
           <mm:relatednodes role="related" orderby="related.number" 
type="givenanswers" directions="up" id="answer">
             <p>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to