EduploneWebdidactics/skins/EduploneWebdidactics ep_LU_view.pt,1.1.2.2,1.1.2.3 ep_image_batch.pt,1.1.2.3,1.1.2.4
Nils Haagen <[email protected]> Sat, 03 Sep 2005 16:01:22 +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-serv25074/skins/EduploneWebdidactics
Modified Files:
Tag: janus
ep_LU_view.pt ep_image_batch.pt
Log Message:
Index: ep_LU_view.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/Attic/ep_LU_view.pt,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** ep_LU_view.pt 3 May 2005 11:45:27 -0000 1.1.2.2
--- ep_LU_view.pt 3 Sep 2005 16:01:20 -0000 1.1.2.3
***************
*** 44,50 ****
!
!
!
<table id="sortable"
--- 44,51 ----
!
!
!
!
<table id="sortable"
Index: ep_image_batch.pt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/Attic/ep_image_batch.pt,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** ep_image_batch.pt 20 Jun 2005 20:55:06 -0000 1.1.2.3
--- ep_image_batch.pt 3 Sep 2005 16:01:20 -0000 1.1.2.4
***************
*** 2,42 ****
tal:define="icons python:here.get_ep_image_lib('_all');">
! <!--h1 tal:content="python: here.get_ep_parent_items(here.aq_parent)" /-->
<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';
- 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'];
-
- currentKU python:here.getId();
- isCurrent python:test(currentKU==KnowledgeUnit.getId());
">
-
- <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>
!
</div>
--- 2,36 ----
tal:define="icons python:here.get_ep_image_lib('_all');">
! <div:defines tal:define="mdtool here/portal_metadata;
! mapping_tool python: here.portal_mappings;
! currentKU python:here.getId();
! mdsetname python:'dcwd';">
<span tal:repeat="KnowledgeUnit python:results[0]">
+ <div:defines tal:define="
+ binding python:mdtool.getMetadata(KnowledgeUnit) or None;
+ 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'];
+ wd_media_key python:mdset['wd_mediatype'].field.render_key(wd_media);
+ wd_class_key python:mdset['wd_classification'].field.render_key(wd_class);
+
+ isCurrent python:test(currentKU==KnowledgeUnit.getId());
">
<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= "class python:test(isCurrent,'ep_navicon_active','ep_navicon_lnk');
! border string:0;
! src python: mapping_tool.getMappingObj('wd_knowtype', wd_class_key).picture.absolute_url()" />
</a>
</div:defines>
</span>
! </div:defines>
</div>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf