Changeset 77

Show
Ignore:
Timestamp:
28/04/06 18:25:27
Author:
sjudge
Message:

Added disclaimer references, moved the forge resources into a seperate portlet (needs fixing!).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/PloneSoftwareCenter/content/schemata.py

    r74 r77  
    377377    StringField( 
    378378        name='id', 
    379         schemata='Essential Information', 
    380379        required=0, 
    381380        searchable=1, 
     
    390389    StringField( 
    391390        name='title', 
    392         schemata='Essential Information', 
    393391        default='', 
    394392        searchable=1, 
     
    405403    TextField( 
    406404        name='description', 
    407         schemata='Essential Information', 
    408405        default='', 
    409406        required=1, 
     
    423420    TextField( 
    424421        name='text', 
    425         schemata='Essential Information', 
    426422        required=1, 
    427423        searchable=1, 
     
    442438    LinesField( 
    443439        name='categories', 
    444         schemata='Essential Information', 
    445440        multiValued=1, 
    446441        required=1, 
     
    459454    LinesField( 
    460455        name='categories_need', 
    461         schemata='Essential Information', 
    462456        multiValued=1, 
    463457        required=1, 
     
    476470    StringField( 
    477471        name='contactAddress', 
    478         schemata='Essential Information', 
    479472        required=0, 
    480473        validators = ('isEmail',), 
     
    491484    StringField( 
    492485        name='homepage', 
    493         schemata='Essential Information', 
    494486        searchable=1, 
    495487        required=0, 
     
    530522            label="Resource Software", 
    531523            description='If the related software is on OATS, please choose it from this list:', 
    532             startup_directory='/software', 
     524            startup_directory='/Software', 
    533525            ), 
    534526        ), 
     
    683675    ImageField( 
    684676        name='logo', 
    685         schemata='Essential Information', 
    686677        required=0, 
    687678        original_size=(150,75), 
     
    698689    StringField( 
    699690        name='logoURL', 
    700         schemata='Essential Information', 
    701691        searchable=1, 
    702692        required=0, 
     
    713703    ImageField( 
    714704        name='screenshot', 
    715         schemata='Essential Information', 
    716705        required=0, 
    717706        original_size=(800,600), 
     
    857846                'view': 'visible', 
    858847            }, 
    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', 
    872848        ), 
    873849    ), 
     
    894870 
    895871    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( 
    896928        name='text', 
     929        schemata='Additional Information', 
    897930        searchable=1, 
    898931        primary=1, 
     
    910943    ), 
    911944 
    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     ), 
    952945 
    953946    DateTimeField('improvementProposalFreezeDate', 
     947        schemata='Additional Information', 
    954948        required=0, 
    955949        searchable=0, 
     
    964958     
    965959    DateTimeField('featureFreezeDate', 
     960        schemata='Additional Information', 
    966961        required=0, 
    967962        searchable=0, 
     
    976971 
    977972    DateTimeField('expectedReleaseDate', 
     973        schemata='Additional Information', 
    978974        required=0, 
    979975        searchable=0, 
     
    988984 
    989985    StringField( 
    990         name='license', 
     986        name='license',  
    991987        required=1, 
    992988        vocabulary='getLicenseVocab', 
     
    10341030 
    10351031    ReferenceField('relatedFeatures', 
     1032        schemata='Additional Information', 
    10361033        allowed_types=('PSCImprovementProposal',), 
    10371034        multiValued=1, 
     
    10481045    StringField( 
    10491046        name='repository', 
     1047        schemata='Additional Information', 
    10501048        searchable=1, 
    10511049        required=0, 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/forge_product_view.pt

    r72 r77  
    4747 
    4848       <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 
    5080        </div> 
    5181 
     
    92122                    i18n:name="project">Ploneboard 1.0</span></a> 
    93123        </h2> 
     124 
     125        <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 
    94126 
    95127        <tal:noreleases tal:condition="not:latestrelease"> 
     
    173205        <div class="visualClear"></div> 
    174206 
    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 
    213208  
    214209        <div tal:replace="structure here/getText" /> 
     
    223218 
    224219        <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> 
    227221            <ul> 
    228222            <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> 
    231225            </ul> 
    232226        </div> 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_project_view.pt

    r74 r77  
    114114                    i18n:name="project">Ploneboard 1.0</span></a> 
    115115        </h2> 
     116 
     117        <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 
    116118 
    117119        <tal:noreleases tal:condition="not:latestrelease"> 
     
    222224 
    223225        <div class="visualClear"></div> 
    224         <fieldset
     226        <fieldset tal:condition="python:here.getOats_status() == ('OATSProject',)"
    225227                <legend> Programmers </legend> 
    226228                <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  
    149149    <div class="visualClear"></div> 
    150150 
     151    <p> You must read the <a href="/Info/disclaimer">disclaimer</a> before downloading.</p> 
     152 
     153 
    151154    <p tal:define="parent_url python:here.aq_parent.aq_parent.absolute_url()" 
    152155       tal:condition="parent_url">