Changeset 77
- Timestamp:
- 28/04/06 18:25:27
- Files:
-
- trunk/PloneSoftwareCenter/content/schemata.py (modified) (20 diffs)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/forge_product_view.pt (modified) (4 diffs)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/portlet_forge_resources.pt (added)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_project_view.pt (modified) (2 diffs)
- trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_release_view.pt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/PloneSoftwareCenter/content/schemata.py
r74 r77 377 377 StringField( 378 378 name='id', 379 schemata='Essential Information',380 379 required=0, 381 380 searchable=1, … … 390 389 StringField( 391 390 name='title', 392 schemata='Essential Information',393 391 default='', 394 392 searchable=1, … … 405 403 TextField( 406 404 name='description', 407 schemata='Essential Information',408 405 default='', 409 406 required=1, … … 423 420 TextField( 424 421 name='text', 425 schemata='Essential Information',426 422 required=1, 427 423 searchable=1, … … 442 438 LinesField( 443 439 name='categories', 444 schemata='Essential Information',445 440 multiValued=1, 446 441 required=1, … … 459 454 LinesField( 460 455 name='categories_need', 461 schemata='Essential Information',462 456 multiValued=1, 463 457 required=1, … … 476 470 StringField( 477 471 name='contactAddress', 478 schemata='Essential Information',479 472 required=0, 480 473 validators = ('isEmail',), … … 491 484 StringField( 492 485 name='homepage', 493 schemata='Essential Information',494 486 searchable=1, 495 487 required=0, … … 530 522 label="Resource Software", 531 523 description='If the related software is on OATS, please choose it from this list:', 532 startup_directory='/ software',524 startup_directory='/Software', 533 525 ), 534 526 ), … … 683 675 ImageField( 684 676 name='logo', 685 schemata='Essential Information',686 677 required=0, 687 678 original_size=(150,75), … … 698 689 StringField( 699 690 name='logoURL', 700 schemata='Essential Information',701 691 searchable=1, 702 692 required=0, … … 713 703 ImageField( 714 704 name='screenshot', 715 schemata='Essential Information',716 705 required=0, 717 706 original_size=(800,600), … … 857 846 'view': 'visible', 858 847 }, 859 ),860 ),861 862 StringField(863 name='codename',864 required=0,865 searchable=1,866 widget=StringWidget(867 label='Codename',868 label_msgid='help_release_codename_label',869 description='Codename for this release, if you have one.',870 description_msgid='help_release_codename_description',871 i18n_domain='plonesoftwarecenter',872 848 ), 873 849 ), … … 894 870 895 871 TextField( 872 name='changelog', 873 required=0, 874 searchable=1, 875 default_content_type='text/plain', 876 default_output_type='text/html', 877 allowable_content_types=TEXT_TYPES, 878 widget=RichWidget( 879 label='Changelog', 880 label_msgid='label_release_changelog', 881 description='A detailed log of what has changed since the previous release.', 882 description_msgid='help_release_changelog', 883 i18n_domain='plonesoftwarecenter', 884 rows=10, 885 ), 886 ), 887 888 StringField('releaseManager', 889 required=0, 890 searchable=1, 891 widget=StringWidget( 892 label='Release Manager', 893 label_msgid='help_release_relmgr_label', 894 description='Release manager for this release.', 895 description_msgid='help_release_relmgr_description', 896 i18n_domain='plonesoftwarecenter', 897 ), 898 ), 899 900 StringField('releaseManagerContact', 901 required=0, 902 searchable=0, 903 widget=StringWidget( 904 label='Release Manager Contact E-mail', 905 label_msgid='help_release_relmgr_label', 906 description='Contact e-mail for Release Manager.', 907 description_msgid='help_release_relmgr_email', 908 i18n_domain='plonesoftwarecenter', 909 ), 910 ), 911 912 913 StringField( 914 name='codename', 915 schemata='Additional Information', 916 required=0, 917 searchable=1, 918 widget=StringWidget( 919 label='Codename', 920 label_msgid='help_release_codename_label', 921 description='Codename for this release, if you have one.', 922 description_msgid='help_release_codename_description', 923 i18n_domain='plonesoftwarecenter', 924 ), 925 ), 926 927 TextField( 896 928 name='text', 929 schemata='Additional Information', 897 930 searchable=1, 898 931 primary=1, … … 910 943 ), 911 944 912 TextField(913 name='changelog',914 required=0,915 searchable=1,916 default_content_type='text/plain',917 default_output_type='text/html',918 allowable_content_types=TEXT_TYPES,919 widget=RichWidget(920 label='Changelog',921 label_msgid='label_release_changelog',922 description='A detailed log of what has changed since the previous release.',923 description_msgid='help_release_changelog',924 i18n_domain='plonesoftwarecenter',925 rows=10,926 ),927 ),928 929 StringField('releaseManager',930 required=0,931 searchable=1,932 widget=StringWidget(933 label='Release Manager',934 label_msgid='help_release_relmgr_label',935 description='Release manager for this release.',936 description_msgid='help_release_relmgr_description',937 i18n_domain='plonesoftwarecenter',938 ),939 ),940 941 StringField('releaseManagerContact',942 required=0,943 searchable=0,944 widget=StringWidget(945 label='Release Manager Contact E-mail',946 label_msgid='help_release_relmgr_label',947 description='Contact e-mail for Release Manager.',948 description_msgid='help_release_relmgr_email',949 i18n_domain='plonesoftwarecenter',950 ),951 ),952 945 953 946 DateTimeField('improvementProposalFreezeDate', 947 schemata='Additional Information', 954 948 required=0, 955 949 searchable=0, … … 964 958 965 959 DateTimeField('featureFreezeDate', 960 schemata='Additional Information', 966 961 required=0, 967 962 searchable=0, … … 976 971 977 972 DateTimeField('expectedReleaseDate', 973 schemata='Additional Information', 978 974 required=0, 979 975 searchable=0, … … 988 984 989 985 StringField( 990 name='license', 986 name='license', 991 987 required=1, 992 988 vocabulary='getLicenseVocab', … … 1034 1030 1035 1031 ReferenceField('relatedFeatures', 1032 schemata='Additional Information', 1036 1033 allowed_types=('PSCImprovementProposal',), 1037 1034 multiValued=1, … … 1048 1045 StringField( 1049 1046 name='repository', 1047 schemata='Additional Information', 1050 1048 searchable=1, 1051 1049 required=0, trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/forge_product_view.pt
r72 r77 47 47 48 48 <div class="discreet"> 49 Category: <span tal:replace="python: ', '.join(here.getCategoryTitles())" /> 49 Category: 50 <span tal:repeat="category python:here.getCategoryTitles()"> 51 <span tal:condition="python:category == 'On Screen Keyboard Projects'"> 52 <img tal:replace="structure here/keyboard_16.gif" alt="On Screen Keyboard Project"/> 53 </span> 54 <span tal:condition="python:category == 'Symol Library'"> 55 <img tal:replace="structure here/symbollib_16.gif" alt="Symbol Library"/> 56 </span> 57 <span tal:condition="python:category == 'Text to Speech'"> 58 <img tal:replace="structure here/texttospeech_16.gif" alt="Text to Speech"/> 59 </span> 60 <span tal:condition="python:category == 'Computer Automation'"> 61 <img tal:replace="structure here/automation_16.gif" alt="Computer Automation"/> 62 </span> 63 <span tal:condition="python:category == 'Switch Input Software'"> 64 <img tal:replace="structure here/switch_16.gif" alt="Switch Input"/> 65 </span> 66 <span tal:condition="python:category == 'Alternative and Augmentative Communication'"> 67 <img tal:replace="structure here/aac_16.gif" alt="Alternative and Augmentative Communication"/> 68 </span> 69 <span tal:condition="python:category == 'Environmental Control'"> 70 <img tal:replace="structure here/education_16.gif" alt="Environmental Control"/> 71 </span> 72 <span tal:condition="python:category == 'Educational and Learning'"> 73 <img tal:replace="structure here/education_16.gif" alt="Educational and Learning"/> 74 </span> 75 <span tal:condition="python:category == 'Other function'"> 76 <img tal:replace="structure here/other_16.gif" alt="Other function"/> 77 </span> 78 </span> 79 50 80 </div> 51 81 … … 92 122 i18n:name="project">Ploneboard 1.0</span></a> 93 123 </h2> 124 125 <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 94 126 95 127 <tal:noreleases tal:condition="not:latestrelease"> … … 173 205 <div class="visualClear"></div> 174 206 175 <fieldset style="float: right; margin-left: 0.5em; margin-top: 0;"> 176 <legend>Development resources</legend> 177 <ul> 178 179 <li tal:condition="here/getTracker"> 180 <img src="" alt="" 181 tal:attributes="src string:${portal_url}/issuetracker_icon.gif" /> 182 <a href="" 183 class="link-plain" 184 title="A place to submit bug reports and feature requests for this project" 185 tal:attributes="href here/getTracker">Issue tracker</a> 186 </li> 187 188 <li tal:condition="here/getRepository"> 189 <img src="" alt="" 190 tal:attributes="src string:${portal_url}/sitemap_icon.gif" /> 191 <a href="" 192 class="link-plain" 193 title="Version control repository location for this project" 194 tal:attributes="href here/getRepository">Development repository</a> 195 </li> 196 197 <li tal:repeat="resource python:here.getAdditionalContainedResources(ignore=('PSCDocumentationFolder',))"> 198 <img tal:attributes="src resource/getIcon" 199 alt="" /> 200 <a href="" 201 class="link-plain" 202 tal:attributes="href resource/getId; 203 title resource/Description;" 204 tal:content="resource/Title">Additional resource</a> 205 </li> 206 207 208 </ul> 209 210 211 </fieldset> 212 207 213 208 214 209 <div tal:replace="structure here/getText" /> … … 223 218 224 219 <div> 225 <p> If you are the developer on this project you may wish to consider some of the tools offered to you by the OATS forge.</p> 226 <p> You may wish to: </p> 220 <p> If you are the developer on this project you may wish to consider some of the tools offered to you by the OATS forge. You may wish to: </p> 227 221 <ul> 228 222 <li> Develop the <a href="" tal:attributes="href string:$here_url/help/">help centre</a>. This is added automatically and displayed in the resources portlet to the right. If you identified an external documentation source then this will be displayed instead, to display the OATS help centre, simply remove the reference to the external documentation. </li> 229 <li> Start a bug tracker. FIXME: ADD LINK/BUTTON!</li>230 <li> Add a Subversion Repository. If this has already been setup for you on the OATS server the simply FIXME add a SVNview. If you would like a subversion repository, simply <a href="mailto:FIXME@CONTACT-FORM"> contact us.</a></li>223 <li> <a href="portal_factory/PoiPscTracker/tracker/base_edit">Start a bug tracker/project management tool</a>. </li> 224 <li> Add a Subversion Repository. If this has already been setup for you on the OATS server the simply add a SVNview. If you would like a subversion repository, simply <a href="mailto:forge@oatsoft.org"> contact us.</a></li> 231 225 </ul> 232 226 </div> trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_project_view.pt
r74 r77 114 114 i18n:name="project">Ploneboard 1.0</span></a> 115 115 </h2> 116 117 <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 116 118 117 119 <tal:noreleases tal:condition="not:latestrelease"> … … 222 224 223 225 <div class="visualClear"></div> 224 <fieldset >226 <fieldset tal:condition="python:here.getOats_status() == ('OATSProject',)"> 225 227 <legend> Programmers </legend> 226 228 <p> Interested in helping to devlop this project? Go to the <a href="" tal:attributes="href string:$here_url/forge_product_view">forge page</a> for more information. </p> trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_release_view.pt
r72 r77 149 149 <div class="visualClear"></div> 150 150 151 <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 152 153 151 154 <p tal:define="parent_url python:here.aq_parent.aq_parent.absolute_url()" 152 155 tal:condition="parent_url">
