Changeset 39

Show
Ignore:
Timestamp:
22/11/05 18:10:18
Author:
sjudge
Message:

Added factory to create CMFboard when project added.
Renamed Releases->Downloads

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/OATSPSC/TODO.txt

    r24 r39  
    77=============================================== 
    88 
    9 ****BROWSING (Simon) 
    10  
    11  - validate_avaliableCategoriesNeed in PloneSoftwareCentre :: write/adapt 
    12  - two/three category browsing 
    13  
    14  - Sort out displaying OATS and RECOMMENDED projects in the by-category template... below DOES NOT WORK! 
    15 #   <dd tal:condition="package/isOats"> This is an OATS project. </dd> 
    16 #   <dd tal:condition="package/isRecommended"> This is a recommended project. </dd> 
    17  
    18  
    19  
    20 ****SEARCHING (Jason) 
    21  
     9SEE TRAC! oatsoft.org/trac/oats 
    2210 
    2311***BUGS?? 
  • trunk/OATSPSC/config.py

    r19 r39  
    2020SOFT_DEPS = 'ATReferenceBrowserWidget', 
    2121 
    22 RELEASES_ID = 'releases' 
     22RELEASES_ID = 'downloads' 
    2323IMPROVEMENTS_ID = 'roadmap' 
    2424DOCUMENTATION_ID = 'documentation' 
  • trunk/OATSPSC/content/PSCProject.py

    r36 r39  
    8484        poll.enable() 
    8585        poll.setVisible() 
     86 
     87        self.invokeFactory(id='Forum', type_name='ForumNB', title=self.title_or_id()+' Forum') 
     88        forum = getattr(self, 'Forum') 
     89        forum.setTitle(self.title_or_id()+' Forum') 
     90        forum.setDescription('Discuss issues related to '+self.title_or_id()+'.') 
    8691  
    8792        # if not self.objectIds('PSCImprovementProposalFolder'): 
  • trunk/OATSPSC/content/PSCReleaseFolder.py

    r1 r39  
    1919    __implements__ = (OrderedBaseFolder.__implements__,) 
    2020 
    21     archetype_name = 'Releases Section' 
     21    archetype_name = 'Downloads Section' 
    2222    immediate_view = default_view = 'psc_releasefolder_view' 
    2323    content_icon = 'download_icon.gif' 
     
    5353 
    5454    typeDescMsgId = 'description_edit_releasefolder' 
    55     typeDescription = ('A Releases Section is used to hold software
    56                        'releases. It is given a default short name and ' 
     55    typeDescription = ('A Releases Section is used to hold downloads.
     56                       'It is given a default short name and ' 
    5757                       'title to ensure that projects are consistent. ' 
    5858                       'Please do not rename it.') 
  • trunk/OATSPSC/content/schemata.py

    r36 r39  
    722722        widget=StringWidget ( 
    723723            label="Short name", 
    724             description="Short name of the container - this should be 'release' to comply with the standards.", 
     724            description="Short name of the container - this should be 'downloads' to comply with the standards.", 
    725725            i18n_domain="plonesoftwarecenter", 
    726726        ), 
     
    729729    StringField( 
    730730        name='title', 
    731         default='Releases', 
     731        default='Downloads', 
    732732        searchable=1, 
    733733        accessor="Title", 
     
    741741    StringField( 
    742742        name='description', 
    743         default='Existing and upcoming releases for this project.', 
     743        default='Existing and upcoming downloads for this project.', 
    744744        searchable=1, 
    745745        accessor="Description", 
  • trunk/OATSPSC/skins/plonesoftwarecenter/forge_product_view.pt

    r36 r39  
    1010             tal:content="string: @import url($portal_url/plonesoftwarecenter.css);"></style> 
    1111      <style type="text/css" media="all" 
    12              tal:content="string: @import url($portal_url/Forge/customforge.css);"></style> 
     12             tal:content="string: @import url($portal_url/Forge/ploneForgeCustom.css);"></style> 
    1313    </metal:css> 
    1414     
  • trunk/OATSPSC/skins/plonesoftwarecenter/forge_view.pt

    r32 r39  
    99        <style type="text/css" media="all" 
    1010               tal:content="string:@import url($portal_url/plonesoftwarecenter.css);"></style> 
     11        <style type="text/css" media="all" 
     12             tal:content="string: @import url($portal_url/Forge/ploneForgeCustom.css);"></style> 
     13  
    1114    </metal:css> 
    1215 
  • trunk/OATSPSC/skins/plonesoftwarecenter/psc_project_view.pt

    r37 r39  
    2121           i18n:translate="description_cannot_add_before_approved" 
    2222           tal:condition="python: is_editable and wtool.getInfoFor(here, 'review_state')!='published'"> 
    23            Thanks. For this project to be considered you <b>must SUBMIT it</b> using the 'submit' button above
    24            If a software release is avaliable for this project, please add it first, using the 'add release' button. 
    25            This project will then be reviewed by the OATS team before being published
     23           Thanks. For this project to be considered you <b>must SUBMIT it</b> to do this click the 'submit' button above and choose 'submit'
     24           If a software release is avaliable for this project, please add it first, using the 'add new item' button. 
     25           This project will then be reviewed by the OATS team before being viewable by the general public
    2626        </p> 
    2727 
     
    7272               tal:condition="python:is_editable and wtool.getInfoFor(here, 'review_state')=='published'"> 
    7373                 <tal:noreleases i18n:translate="description_no_available_releases"> 
    74                     Sorry - there are no software releases for this project yet. 
     74                    Sorry - there are no downloads for this project yet. 
    7575                 </tal:noreleases> 
    7676            </p> 
     
    7979                <a i18n:translate="label_goto_release_folder" 
    8080                   tal:attributes="href string:$here_url/releases"> 
    81                   Go to the spoftware release folder to add or publish a software release
     81                  Go to the downloads folder to add or publish a download
    8282                </a> 
    8383            </p> 
  • trunk/OATSPSC/version.txt

    r36 r39  
    1 1.0 beta 7 - OATS beta 36 
     11.0 beta 7 - OATS beta 39