Changeset 84
- Timestamp:
- 07/01/07 00:28:35
- Files:
-
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/browse.pt (modified) (2 diffs)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/by-category.pt (modified) (1 diff)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/portlet_categories.pt (modified) (1 diff)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_project_view.pt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/browse.pt
r81 r84 62 62 <div tal:repeat="categoryId python:here.getCategoriesToList(CatType)"> 63 63 <li 64 tal:define="category python:here.getCategoryName(categoryId, CatType)"> 65 <h6> 66 <span tal:condition="python:category == 'Text input Projects'"> 67 <img tal:replace="structure here/textinput_32.gif" alt="Text Input Projects"/> 68 </span> 69 <span tal:condition="python:category == 'Accessing the Web'"> 70 <img tal:replace="structure here/webaccess_32.gif" alt="Accessing the Web"/> 71 </span> 72 <span tal:condition="python:category == 'Using the Mouse'"> 73 <img tal:replace="structure here/mouse_32.gif" alt="Using the Web"/> 74 </span> 75 <span tal:condition="python:category == 'Viewing the screen'"> 76 <img tal:replace="structure here/viewing_32.gif" alt="Viewing the Screen"/> 77 </span> 78 <span tal:condition="python:category == 'Symbols'"> 79 <img tal:replace="structure here/symbol_32.gif" alt="Symbols"/> 80 </span> 81 <span tal:condition="python:category == 'Alternative Access'"> 82 <img tal:replace="structure here/altaccess_32.gif" alt="Alternative Access"/> 83 </span> 84 <span tal:condition="python:category == 'Learning and Eductation'"> 85 <img tal:replace="structure here/education_32.gif" alt="Learning and Education"/> 86 </span> 87 <span tal:condition="python:category == 'Other need'"> 88 <img tal:replace="structure here/other_32.gif" alt="Other need"/> 89 </span> 90 <span tal:condition="python:category == 'On Screen Keyboard Projects'"> 91 <img tal:replace="structure here/keyboard_32.gif" alt="On Screen Keyboard Project"/> 92 </span> 93 <span tal:condition="python:category == 'Symol Library'"> 94 <img tal:replace="structure here/symbollib_32.gif" alt="Symbol Library"/> 95 </span> 96 <span tal:condition="python:category == 'Text to Speech'"> 97 <img tal:replace="structure here/texttospeech_32.gif" alt="Text to Speech"/> 98 </span> 99 <span tal:condition="python:category == 'Computer Automation'"> 100 <img tal:replace="structure here/automation_32.gif" alt="Computer Automation"/> 101 </span> 102 <span tal:condition="python:category == 'Switch Input Software'"> 103 <img tal:replace="structure here/switch_32.gif" alt="Switch Input"/> 104 </span> 105 <span tal:condition="python:category == 'Alternative and Augmentative Communication'"> 106 <img tal:replace="structure here/aac_32.gif" alt="Alternative and Augmentative Communication"/> 107 </span> 108 <span tal:condition="python:category == 'Environmental Control'"> 109 <img tal:replace="structure here/education_32.gif" alt="Environmental Control"/> 110 </span> 111 <span tal:condition="python:category == 'Educational and Learning'"> 112 <img tal:replace="structure here/education_32.gif" alt="Educational and Learning"/> 113 </span> 114 <span tal:condition="python:category == 'Other function'"> 115 <img tal:replace="structure here/other_32.gif" alt="Other function"/> 116 </span> 64 tal:define="category python:here.getCategoryName(categoryId, CatType); 65 category_lower python: categoryId.lower()"> 66 <h6> 67 <img src="" alt="" tal:attributes="src string:${category_lower}_32.gif; alt string:${category}"/> 117 68 <a href="" 118 69 tal:condition= "python:Forge=='Forge'" … … 132 83 </li> 133 84 </div> 85 134 86 135 87 <form style="float: right" trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/by-category.pt
r74 r84 94 94 tal:content="package/Title">Title</a> 95 95 </dt> 96 Category:97 <span tal:repeat="cattype package/getCategoryTitles()">98 <span tal:condition="python:cattype == 'On Screen Keyboard Projects'">99 <img tal:replace="structure here/keyboard_16.gif" alt="On Screen Keyboard Project"/>100 </span>101 <span tal:condition="python:cattype == 'Symol Library'">102 <img tal:replace="structure here/symbollib_16.gif" alt="Symbol Library"/>103 </span>104 <span tal:condition="python:cattype == 'Text to Speech'">105 <img tal:replace="structure here/texttospeech_16.gif" alt="Text to Speech"/>106 </span>107 <span tal:condition="python:cattype == 'Computer Automation'">108 <img tal:replace="structure here/automation_16.gif" alt="Computer Automation"/>109 </span>110 <span tal:condition="python:cattype == 'Switch Input Software'">111 <img tal:replace="structure here/switch_16.gif" alt="Switch Input"/>112 </span>113 <span tal:condition="python:cattype == 'Alternative and Augmentative Communication'">114 <img tal:replace="structure here/aac_16.gif" alt="Alternative and Augmentative Communication"/>115 </span>116 <span tal:condition="python:cattype == 'Environmental Control'">117 <img tal:replace="structure here/education_16.gif" alt="Environmental Control"/>118 </span>119 <span tal:condition="python:cattype == 'Educational and Learning'">120 <img tal:replace="structure here/education_16.gif" alt="Educational and Learning"/>121 </span>122 <span tal:condition="python:cattype == 'Other function'">123 <img tal:replace="structure here/other_16.gif" alt="Other function"/>124 </span>125 </span>126 96 127 97 <dd tal:content="package/Description">Description</dd> trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/portlet_categories.pt
r81 r84 21 21 <div> 22 22 23 <ul style="list-style-type: none; list-style-image: none; margin-left: 0;"> 23 <ul style="list-style-type: none; list-style-image: none; margin-left: 0;"> 24 25 <span tal:repeat="category here/getCategories"> 26 <a href="" tal:attributes="href string:/Software/by-category/Repository/Function/${category}; 27 title category" 28 tal:content="python: here.getCategoryName(category, 'Function')"> Category links</a> 29 </span> 30 <span tal:repeat="category here/getCategories_need"> 31 <a href="" tal:attributes="href string:/Software/by-category/Repository/Need/${category}; 32 title category" 33 tal:content="python: here.getCategoryName(category, 'Need')"> Category links</a> - 34 </span> 35 </ul> 36 37 </div> 38 39 <p/> 40 <div> 24 41 25 42 <span tal:repeat="category here/getCategories"> 26 43 <a href="" tal:attributes="href string:/Software/by-category/Repository/Function/${category}; 27 44 title category" 28 tal:content="python: here.getCategoryName(category, 'Function')"> Category links</a> - 45 tal:define="categoryName python: here.getCategoryName(category, 'Function'); 46 category_lower python: category.lower()"> 47 <img src="" alt="" tal:attributes="src string:${category_lower}_16.gif; alt string:${category}"/></a> 29 48 </span> 30 49 <span tal:repeat="category here/getCategories_need"> 31 50 <a href="" tal:attributes="href string:/Software/by-category/Repository/Need/${category}; 32 51 title category" 33 tal:content="python: here.getCategoryName(category, 'Need')"> Category links</a> - 34 </span> 35 </ul> 52 tal:define="categoryName python: here.getCategoryName(category, 'Need'); 53 category_lower python: category.lower()"> 54 <img src="" alt="" tal:attributes="src string:${category_lower}_16.gif; alt string:${category}"/></a> 55 </span> 36 56 37 </div>57 </div> 38 58 39 </tal:block> 40 59 </tal:block> 41 60 42 </div>61 </div> 43 62 44 63 </div> trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_project_view.pt
r82 r84 38 38 <img tal:replace="structure here/product_icon.gif" /> 39 39 <span tal:replace="here/title_or_id">Title or id</span> 40 40 41 </h1> 41 42 … … 85 86 <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 86 87 87 <tal:noreleases tal:condition=" not:latestrelease and not here.getDownloadPage()">88 <tal:noreleases tal:condition="python:not latestrelease and not here.getDownloadPage()"> 88 89 89 90 <p class="discreet">
