Author: michiel
Date: 2010-03-17 20:58:07 +0100 (Wed, 17 Mar 2010)
New Revision: 41482

Modified:
   
didactor/trunk/components/assessment/src/main/webapp/assessment/closelesson.link.jspx
Log:
wtf

Modified: 
didactor/trunk/components/assessment/src/main/webapp/assessment/closelesson.link.jspx
===================================================================
--- 
didactor/trunk/components/assessment/src/main/webapp/assessment/closelesson.link.jspx
       2010-03-17 19:46:49 UTC (rev 41481)
+++ 
didactor/trunk/components/assessment/src/main/webapp/assessment/closelesson.link.jspx
       2010-03-17 19:58:07 UTC (rev 41482)
@@ -6,9 +6,10 @@
     xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate";
     class="submitItems">
   <jsp:output omit-xml-declaration="true" />
-       <mm:import externid="sub" />
+  <mm:import externid="sub" />
   <mm:import id="currentlesson" from="session" 
externid="currentlesson_${user}_${education}" />
-         <c:if test="${! empty currentlesson}">
+
+  <c:if test="${! empty currentlesson}">
     <mm:node referid="currentlesson" id="currentlesson" />
     <mm:node number="$user">
       <mm:function name="canCloseLesson"
@@ -29,29 +30,29 @@
       </mm:function>
     </mm:node>
   </c:if>
-
   <form name="closelessonform" action="${formAction}"   method="post">
-       <mm:link>
-               <c:if test="${!empty sub}">
-                       <mm:param name="sub" referid="sub"/>
-               </c:if>
-       <a href="${_}" class="formActionLinks">opslaan</a>
-       </mm:link>
-       <jsp:text>&amp;nbsp;|&amp;nbsp;</jsp:text>
-               <input type="hidden" name="coachmode" value="false"  />
+    <mm:link>
+      <c:if test="${!empty sub}">
+        <mm:param name="sub" referid="sub"/>
+      </c:if>
+      <a href="${_}" class="formActionLinks">opslaan</a>
+    </mm:link>
+    <jsp:text>&amp;nbsp;|&amp;nbsp;</jsp:text>
+    <input type="hidden" name="coachmode" value="false"  />
     <input type="hidden" name="lesson" value="${currentlesson}"  />
     <c:if test="${empty feedback and ! empty currentlesson}">
-       <di:translate key="assessment.close_and_send_to_coach" 
arg0="${currentlesson.name}">
-               <mm:import externid="justclosed">false</mm:import>
-               <c:if test="${justclosed}">
-                       <a href="#" class="formActionLinks">je les is 
verstuurd</a><jsp:text> | </jsp:text>
-               </c:if>
-       <c:if test="${!justclosed}">
-               <a href="#" onclick="document.closelessonform.submit()" 
class="formActionLinks">${_}</a><jsp:text> | </jsp:text>
+      <di:translate key="assessment.close_and_send_to_coach" 
arg0="${currentlesson.name}">
+        <mm:import externid="justclosed">false</mm:import>
+        <c:if test="${justclosed}">
+          <a href="#" class="formActionLinks">je les is 
verstuurd</a><jsp:text> | </jsp:text>
+        </c:if>
+        <c:if test="${!justclosed}">
+          <a href="#" 
+             onclick="document.forms.closelessonform.submit()" 
class="formActionLinks">${_}</a><jsp:text> | </jsp:text>
        </c:if>
 
-                       </di:translate>
-               </c:if>
+      </di:translate>
+    </c:if>
                <c:if test="${!empty feedback}">
       <jsp:text>${feedback} | </jsp:text>
                </c:if>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to