Update of /var/cvs/contributions/didactor2/src/faq/templates/faq/cockpit
In directory james.mmbase.org:/tmp/cvs-serv24738

Modified Files:
        rolerelated.jsp 
Log Message:
also support for linking to current education


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/faq/templates/faq/cockpit


Index: rolerelated.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/faq/templates/faq/cockpit/rolerelated.jsp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- rolerelated.jsp     24 Nov 2008 10:19:53 -0000      1.8
+++ rolerelated.jsp     24 Nov 2008 10:22:53 -0000      1.9
@@ -15,16 +15,21 @@
           <mm:field id="faqname" name="name" write="false"/>
           <mm:relatednodes type="roles">
             <mm:field id="role" name="name" write="false" />
+            <mm:notpresent referid="displayed">
             <mm:node number="$user">
               <di:hasrole role="${role}">
-                <div class="menuSeparatorApplicationMenubar"></div>
+                  <div class="menuSeparatorApplicationMenubar">
+                    <jsp:text> </jsp:text>
+                  </div>
                 <div class="menuItemApplicationMenubar">
                   <mm:treefile page="/faq/frontoffice/index.jspx" 
objectlist="$includePath" referids="$referids,[EMAIL PROTECTED]" write="false">
                     <a title="${faqname}" href="${_}"  
class="menubar"><mm:write referid="faqname"/></a>
                   </mm:treefile>
                 </div>
+                  <mm:import id="displayed" />
               </di:hasrole>
             </mm:node>
+            </mm:notpresent>
           </mm:relatednodes>
         </mm:listnodes>
       </mm:listnodescontainer>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to