EduploneWebdidactics/skins/EduploneWebdidactics ep_KU_content_slot.pt,1.1.2.1,1.1.2.2 ep_KU_view.pt,1.1.2.1,1.1.2.2 ep_LU_view.pt,1.1.2.1,1.1.2.2 ep_image_batch.pt,1.1.2.1,1.1.2.2 ep_action_circ_30x30.gif,1.1,NONE ep_assignment_circ_30x30.gif,1.1,NONE ep_cooperation_circ_30x30.gif,1.1,NONE ep_explanation_circ_30x30.gif,1.1,NONE ep_interaction_circ_30x30.gif,1.1,NONE ep_orientation_circ_30x30.gif,1.1,NONE ep_question_circ_30x30.gif,1.1,NONE ep_source_circ_30x30.gif,1.1,NONE

Nils Haagen <[email protected]> Tue, 03 May 2005 11:45:30 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8230

Modified Files:
      Tag: janus
	ep_KU_content_slot.pt ep_KU_view.pt ep_LU_view.pt 
	ep_image_batch.pt 
Removed Files:
      Tag: janus
	ep_action_circ_30x30.gif ep_assignment_circ_30x30.gif 
	ep_cooperation_circ_30x30.gif ep_explanation_circ_30x30.gif 
	ep_interaction_circ_30x30.gif ep_orientation_circ_30x30.gif 
	ep_question_circ_30x30.gif ep_source_circ_30x30.gif 
Log Message:
a little cleaning of LU_view

--- ep_question_circ_30x30.gif DELETED ---

--- ep_action_circ_30x30.gif DELETED ---

Index: ep_KU_view.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/Attic/ep_KU_view.pt,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** ep_KU_view.pt	1 May 2005 16:25:33 -0000	1.1.2.1
--- ep_KU_view.pt	3 May 2005 11:45:27 -0000	1.1.2.2
***************
*** 15,19 ****
      <div metal:fill-slot="main"
           tal:define="portal_type python:here.getPortalTypeName().lower();
!                      view_template python:'%s_view' % portal_type;"><!-- ist doch schrott-->
   
  
--- 15,19 ----
      <div metal:fill-slot="main"
           tal:define="portal_type python:here.getPortalTypeName().lower();
!                      view_template python:'%s_view' % portal_type;"><!-- XXX ist doch schrott-->
   
  

--- ep_source_circ_30x30.gif DELETED ---

Index: ep_LU_view.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/Attic/ep_LU_view.pt,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** ep_LU_view.pt	1 May 2005 16:25:33 -0000	1.1.2.1
--- ep_LU_view.pt	3 May 2005 11:45:27 -0000	1.1.2.2
***************
*** 43,110 ****
                  <br />
                  
-                 <table border=0 cellspacing=3>
-                   <tR>
-                   <tal:block tal:repeat="ku python: results[0]">
-                       <td width=180 valign=top>
-                         <fieldset>
-     
-                         <div:defines tal:omit-tag
-                                      tal:define="mdtool     ku/portal_metadata;
-                              binding    python:mdtool.getMetadata(ku) or None;
-                              mdsetname  python:'dcwd';
-                              mdset      python:binding.getSet(mdsetname);
-                              wd_level   python: binding['dcwd']['wd_level'];
-                              wd_media   python: binding['dcwd']['wd_mediatype'];
-                              wd_class   python: binding['dcwd']['wd_classification'];
-                             ">    
-             
                  
!                             <legend>KnowledgeUnit</legend>
!         
!                             <a tal:attributes="title wd_media;
!                                                href python:ku.absolute_url();
!                             ">
!         
!                                 <img tal:condition="python:icons.has_key(wd_class)"
!                                      tal:attributes="alt string:icon;
!                                                      src python: icons[wd_class];
!                                                      class string:ep_navicon_lnk;
!                                                      border string:0; 
!                                                      align string:left;
!                                                     ">
!                                 
!                                 <small tal:condition="python: wd_class not in icons"
!                                        tal:content="ku/title" />
                              </a>
!                             
!                             
!                             <dl>
!                                 <dt tal:content="ku/title" />
!                                 <dd>
!                                     <span tal:omit-tag
!                                           tal:content="wd_class" />
!                                     <br />
!                                     <span tal:omit-tag
!                                           tal:content="wd_level" />
!                                     <br />
!                                     <span tal:omit-tag
!                                           tal:content="wd_media" />
!                                 </dd>
!                             </dl>
!     
!                         </div:defines>         
!                         </fieldset>
!                       </td>
!                       <tal tal:condition="python: '.0' in str(float(repeat['ku'].number())/3)"
!                            tal:omit-tag
!                            tal:content="structure string:</tr><tr>" />
!                         
!                   </tal:block>
!                   </tR>
!               </table>
  
  
             </div>
- 
          </div>
      </div>
--- 43,111 ----
                  <br />
                  
                  
!                 
!                 
!             
! 
!            <table id="sortable"
!                  class="listing"
!                  summary="Content listing"
!                  cellpadding="0" cellspacing="0">
! 
!               <thead>
!               <metal:block tal:condition="batch|not:standalone|nothing">
!                 <tr>
!                    <th><b i18n:translate="wd_classification">Wissensart</b></th>
!                    <th><b i18n:translate="wd_medium">Medientyp</b></th> 
!                    <th><b i18n:translate="wd_competencylevel">Level</b></th> 
!                  </tr>
!               </metal:block>
!               </thead>
!             
!             <metal:block tal:repeat="ku python: results[0]">
!                 <tal:def tal:define="
!                          mdtool     ku/portal_metadata;
!                          binding    python: mdtool.getMetadata(ku) or None;
!                          mdsetname  string:dcwd;
!                          mdset      python: binding.getSet(mdsetname);
!                          wd_l       python: binding[mdsetname]['wd_level'];
!                          wd_m       python: binding[mdsetname]['wd_mediatype'];
!                          wd_c       python: binding[mdsetname]['wd_classification'];
!                  ">    
!                     <tr tal:define="oddrow repeat/ku/odd"
!                         tal:attributes="class python:test(oddrow, 'even', 'odd')">
! 
!                         <td> 
!                             <a tal:condition="wd_c"
!                                 tal:attributes="href python:ku.absolute_url();">
!                                 <span tal:omit-tag=""
!                                       tal:content="python: mdset['wd_classification'].renderView(wd_c)" />
                              </a>
!                         </td>
!                         <td> 
!                             <a tal:condition="wd_m"
!                                 tal:attributes="href python:ku.absolute_url();">
!                                 <span tal:omit-tag=""
!                                       tal:content="python: mdset['wd_mediatype'].renderView(wd_m)" />
!                             </a>
!                         </td>
!                         <td> 
!                             <a tal:condition="wd_l"
!                                 tal:attributes="href python:ku.absolute_url();">
!                                 <span tal:omit-tag=""
!                                       tal:content="python: mdset['wd_level'].renderView(wd_l)" />
!                             </a>
!                         </td>
! 
!                    </tr>
!                 </tal:def>
!             </metal:block>
  
+            </table>
  
+                            
+                             
+                   
             </div>
          </div>
      </div>

--- ep_interaction_circ_30x30.gif DELETED ---

--- ep_explanation_circ_30x30.gif DELETED ---

--- ep_orientation_circ_30x30.gif DELETED ---

--- ep_assignment_circ_30x30.gif DELETED ---

Index: ep_KU_content_slot.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/Attic/ep_KU_content_slot.pt,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** ep_KU_content_slot.pt	1 May 2005 16:25:33 -0000	1.1.2.1
--- ep_KU_content_slot.pt	3 May 2005 11:45:27 -0000	1.1.2.2
***************
*** 30,50 ****
  
  
!         <fieldset tal:define="mdtool     here/portal_metadata;
!                               binding    python:mdtool.getMetadata(here) or None;
!                               mdsetname  python:'dcwd';
!                               mdset      python:binding.getSet(mdsetname);
!                               val_level  python: binding['dcwd']['wd_level'];
!                               val_media  python: binding['dcwd']['wd_mediatype'];
!                               val_class  python: binding['dcwd']['wd_classification'];"
!         >
  
!             <tal metal:define-macro="eduplone_legend">
!                 <legend tal:condition="val_level">
!                     <b tal:content="python: mdset['wd_classification'].renderView(value=val_class)" /> 
!                     (<b tal:replace="python: mdset['wd_level'].renderView(value=val_level)" />)
!                     &nbsp; 
!                     <b tal:replace="python: mdset['wd_mediatype'].renderView(value=val_media)" /> 
!                 </legend>
!             </tal>
  
              <tal metal:define-slot="content_slot" />
--- 30,38 ----
  
  
!         <!-- --------- -->
  
!         <fieldset>
! 
!             <legend><b tal:content="python: here.aq_parent.title_or_id()" /></legend>
  
              <tal metal:define-slot="content_slot" />
***************
*** 52,56 ****
          </fieldset>
  
!         
          <div metal:define-macro="page_nav_bottom"
              tal:define="results python:(here.aq_parent.objectValues(),len(here.aq_parent.objectValues())-1);
--- 40,46 ----
          </fieldset>
  
!         <!-- --------- -->
! 
! 
          <div metal:define-macro="page_nav_bottom"
              tal:define="results python:(here.aq_parent.objectValues(),len(here.aq_parent.objectValues())-1);

--- ep_cooperation_circ_30x30.gif DELETED ---

Index: ep_image_batch.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/Attic/ep_image_batch.pt,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** ep_image_batch.pt	1 May 2005 16:25:33 -0000	1.1.2.1
--- ep_image_batch.pt	3 May 2005 11:45:27 -0000	1.1.2.2
***************
*** 4,8 ****
  <span tal:repeat="KnowledgeUnit python:results[0]">
  		
! <div:defines tal:define="mdtool     KnowledgeUnit/portal_metadata;
                           binding    python:mdtool.getMetadata(KnowledgeUnit) or None;
                           mdsetname  python:'dcwd';
--- 4,9 ----
  <span tal:repeat="KnowledgeUnit python:results[0]">
  		
!     <div:defines tal:define="
!                          mdtool     KnowledgeUnit/portal_metadata;
                           binding    python:mdtool.getMetadata(KnowledgeUnit) or None;
                           mdsetname  python:'dcwd';
***************
*** 11,16 ****
                           wd_media   python: binding['dcwd']['wd_mediatype'];
                           wd_class   python: binding['dcwd']['wd_classification'];
- 						 currentKU  python:here.getId();
  
  						 isCurrent  python:test(currentKU==KnowledgeUnit.getId());
  
--- 12,17 ----
                           wd_media   python: binding['dcwd']['wd_mediatype'];
                           wd_class   python: binding['dcwd']['wd_classification'];
  
+ 						 currentKU  python:here.getId();
  						 isCurrent  python:test(currentKU==KnowledgeUnit.getId());
  
***************
*** 18,37 ****
  		
  
!         <a tal:attributes="title wd_media;
!                            href python:KnowledgeUnit.absolute_url();
!         ">
! 
!             <img tal:condition="python:icons.has_key(wd_class)"
! 				 tal:attributes="alt string:icon;
!                                  src python: icons[wd_class];
!                                  class python:test(isCurrent,'ep_navicon_active','ep_navicon_lnk');
!                                  border string:0; 
!                                 ">
!             
!             <small tal:condition="python: wd_class not in icons"
!                    tal:content="KnowledgeUnit/title" />
!         </a>
  
! </div:defines>          
  </span>
  
--- 19,38 ----
  		
  
!         <tal:cond tal:condition="python:icons.has_key(wd_class)">
!            <a tal:define="wd_info python:'%s (%s, %s)' % (mdset['wd_classification'].renderView(value=wd_class), mdset['wd_mediatype'].renderView(value=wd_media), mdset['wd_level'].renderView(value=wd_level))"
!               tal:attributes="title wd_info;
!                               href python:KnowledgeUnit.absolute_url();
!            ">
!                <img tal:attributes="alt python:mdset['wd_classification'].renderView(value=wd_class);
!                                     src python: icons[wd_class];
!                                     class python:test(isCurrent,'ep_navicon_active','ep_navicon_lnk');
!                                     border string:0; ">
!             </a>
!         </tal:cond>
  
!         <a tal:condition="python:wd_class not in icons"
!            tal:content="KnowledgeUnit/title" />
!         
!     </div:defines>          
  </span>
  



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20