Changeset 81

Show
Ignore:
Timestamp:
05/01/07 16:01:03
Author:
sjudge
Message:

Integrated changes made on the server (custom skin folder).

Started changes to add downloadPage field and display this as download. Not yet complete. Not uploaded PSCProject.py or schemata.py this run.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter

    • Property svn:ignore set to *.bak
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/browse.pt

    r75 r81  
    116116                </span> 
    117117                    <a href="" 
     118                       tal:condition= "python:Forge=='Forge'" 
    118119                       tal:content="category" 
    119                        tal:attributes="href string:${here/absolute_url}/by-category/${Forge}/${CatType}/${categoryId}" 
     120                       tal:attributes="href string:/Forge/Software/by-category/Forge/${CatType}/${categoryId}" 
     121                       i18n:translate=""> 
     122                        Category heading 
     123                    </a> 
     124                    <a href="" 
     125                       tal:condition= "python:Forge!='Forge'" 
     126                       tal:content="category" 
     127                       tal:attributes="href string:Software/by-category/${Forge}/${CatType}/${categoryId}" 
    120128                       i18n:translate=""> 
    121129                        Category heading 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/forge_product_view.pt

    r77 r81  
    2020 
    2121<body> 
     22 
     23<metal:override fill-slot="portlets_two_slot"> 
     24 
     25  <div metal:use-macro="here/portlet_forge_resources/macros/portlet" /> 
     26  <div metal:use-macro="here/portlet_categories/macros/portlet" /> 
     27  <div metal:use-macro="here/portlet_resources/macros/portlet" /> 
     28 
     29</metal:override> 
    2230 
    2331<div metal:fill-slot="main"> 
     
    4553            -OATS Forge 
    4654        </h1> 
    47  
    48        <div class="discreet"> 
    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  
    80         </div> 
    8155 
    8256        <div> 
     
    216190 
    217191        <div class="visualClear"></div> 
    218  
    219         <div> 
    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> 
    221             <ul> 
    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>         
    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> 
    225             </ul> 
    226         </div> 
    227192         
    228193        <div metal:use-macro="here/document_byline/macros/byline"> 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/forge_view.pt

    r67 r81  
    7474 
    7575            <input id = portal_type%3Alist name="portal_type:Alist" type="hidden" value="PSCProject"/> 
     76            <input id = oats_status name="getOats_status" type="hidden" value="OATSProject"/> 
     77 
    7678             
    7779            <div class="formControls"> 
     
    100102            <h3> 
    101103                    <a href="" 
    102                        tal:attributes="href string:${here/absolute_url}/browse/Forge/Need" 
     104                       tal:attributes="href string:/Forge/Software/browse/Forge/Need" 
    103105                       i18n:translate="" > 
    104106                        Browse software based on the need that it meets (plain view |  
     
    106108 
    107109                    <a href="" 
    108                        tal:attributes="href string:${here/absolute_url}/psc_browse/Forge/Need" 
     110                       tal:attributes="href string:/Forge/Software/psc_browse/Forge/Need" 
    109111                       i18n:translate="" > 
    110112                        enhanced view) 
     
    115117            <h3> 
    116118                    <a href="" 
    117                        tal:attributes="href string:${here/absolute_url}/browse/Forge/Function" 
     119                       tal:attributes="href string:/Forge/Software/browse/Forge/Function" 
    118120                       i18n:translate=""> 
    119121                        Browse software by the type of software (plain view |  
     
    121123 
    122124                    <a href="" 
    123                        tal:attributes="href string:${here/absolute_url}/psc_browse/Forge/Function" 
     125                       tal:attributes="href string:/Forge/Software/psc_browse/Forge/Function" 
    124126                       i18n:translate=""> 
    125127                        enhanced view) 
     
    131133            <h3> 
    132134                    <a href="" 
    133                        tal:attributes="href string:${here/absolute_url}/listing/Forge" 
     135                       tal:attributes="href string:/Forge/Software/listing/Forge" 
    134136                       i18n:translate=""> 
    135137                        Or see all software by title 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/listing.pt

    r65 r81  
    5353                      <img tal:replace="structure here/product_icon.gif" /> 
    5454                      <a tal:condition="python:Forge=='Forge'" 
    55                           tal:attributes="href string:${package/getURL}/forge_product_view" 
     55                          tal:attributes="href string: /Forge/Software/${package/getId}/forge_product_view" 
    5656                          tal:content="package/Title">Title</a> 
    5757                      <a tal:condition="python:Forge!='Forge'" 
     
    111111                      <img tal:replace="structure here/product_icon.gif" /> 
    112112                      <a tal:condition="python:Forge=='Forge'" 
    113                           tal:attributes="href string:${package/getURL}/forge_product_view" 
     113                          tal:attributes="href string: /Forge/Software/${package/getId}/forge_product_view" 
    114114                          tal:content="package/Title">Title</a> 
    115115                      <a tal:condition="python:Forge!='Forge'" 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/oats_view.pt

    r74 r81  
    6363            </div> 
    6464 
    65             <input id = portal_type%3Alist name="portal_type:Alist" type="hidden" value="PSCProject"/> 
     65            <input id = portal_type name="portal_type:Alist" type="hidden" value="PSCProject"/> 
    6666             
    6767            <div class="formControls"> 
     
    8686 
    8787    <fieldset> 
     88     <legend i18n:translate="legend_browse_terms">Browse Software</legend>     
    8889      <ul> 
    89         <legend i18n:translate="legend_browse_terms">Browse Software</legend>     
    9090         <li> 
    9191            <h3> 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/portlet_forge_resources.pt

    r77 r81  
    2121            <div> 
    2222                <ul style="list-style-type: none; list-style-image: none; margin-left: 0;"> 
     23                 
     24                <li tal:condition="python: not here.getDocumentationID()"> 
     25                    <img src="" alt="help" 
     26                         tal:attributes="src string:${portal_url}/documentation_icon.gif" /> 
     27                    <a href="createObject?type_name=HelpCenter">Add a Help Centre</a> 
     28                </li> 
    2329 
    2430                <li tal:condition="here/getTracker"> 
     
    3440                    <img src="" alt="Add Bug Tracker" 
    3541                         tal:attributes="src string:${portal_url}/issuetracker_icon.gif" /> 
    36                     <a href="portal_factory/PoiPscTracker/tracker/base_edit">Add a Bug Tracker</a> 
     42                    <a href="createObject?type_name=PoiPscTracker">Add a Bug Tracker</a> 
    3743                </li> 
    3844 
     
    5258                    <a href="mailto:forge@oatsoft.org">Add a Repository (contact OATS)</a> 
    5359                </li> 
     60 
     61 
     62                <li> 
     63                    <img src="" alt="Switch to User View" 
     64                         tal:attributes="src string:${portal_url}/undo_icon.gif" /> 
     65                    <a href="psc_project_view">Switch to User View</a> 
     66                </li> 
     67     
    5468     
    5569            </ul> 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/portlet_resources.pt

    r79 r81  
    1212 
    1313     <div class="portletHeader"> 
    14           <span>Help, Support & Additional resources</span> 
     14          <span>Help & Support</span> 
    1515      </div> 
    1616 
     
    104104                       class="link-plain" 
    105105                       title="A place to submit bug reports and feature requests for this project" 
    106                        tal:attributes="href here/getTracker">Bug Tracker</a> 
     106                       tal:attributes="href here/getTracker">Report a problem</a> 
    107107                </li> 
    108108 
     
    114114                       title="Support options for this product" 
    115115                       tal:attributes="href here/getMailingList">Support</a> 
    116                 </li> 
    117  
    118                 <li tal:condition="here/getRepository"> 
    119                     <img src="" alt="Code Repository" 
    120                          tal:attributes="src string:${portal_url}/sitemap_icon.gif" /> 
    121                     <a href="" 
    122                        class="link-plain" 
    123                        title="Version control repository location for this project" 
    124                        tal:attributes="href here/getRepository">Development repository</a> 
    125116                </li> 
    126117     
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter/psc_project_view.pt

    r77 r81  
    1414<body> 
    1515 
     16 
     17<metal:override fill-slot="portlets_two_slot"> 
     18 
     19  <div metal:use-macro="here/portlet_resources/macros/portlet" /> 
     20  <div metal:use-macro="here/portlet_categories/macros/portlet" /> 
     21  <div metal:use-macro="here/popoll_slot2/macros/popollBox" /> 
     22  <div metal:use-macro="here/portlet_switchview/macros/portlet" /> 
     23 
     24 
     25</metal:override> 
     26 
     27 
    1628<div metal:fill-slot="main"> 
    1729 
    1830  <div metal:define-macro="main" tal:define="latestrelease here/getLatestRelease; 
    1931                                             herePath python:'/'.join(here.getPhysicalPath())"> 
    20  
    21         <tal:syndicate condition="syntool/isSiteSyndicationAllowed"> 
    22            <a class="feedButton" href="" tal:attributes="href string:$here_url/search_rss?portal_type=PSCRelease&sort_on=Date&sort_order=reverse&path=${herePath}&review_state=published"> 
    23               <img i18n:attributes="title title_rss_feed; alt label_rss_feed;" 
    24                    tal:attributes="src string:$portal_url/rss.gif" 
    25                    src="rss.gif" 
    26                    alt="RSS Feed" 
    27                    title="RSS feed of the latest releaes in this category" /> 
    28            </a> 
    29         </tal:syndicate> 
    3032 
    3133        <div metal:use-macro="here/document_actions/macros/document_actions"> 
     
    3739            <span tal:replace="here/title_or_id">Title or id</span> 
    3840        </h1> 
    39  
    40        <div class="discreet"> 
    41         Category: 
    42         <span tal:repeat="category python:here.getCategoryTitles()"> 
    43                 <span tal:condition="python:category == 'On Screen Keyboard Projects'"> 
    44                         <img tal:replace="structure here/keyboard_16.gif" alt="On Screen Keyboard Project"/> 
    45                 </span> 
    46                 <span tal:condition="python:category == 'Symol Library'"> 
    47                         <img tal:replace="structure here/symbollib_16.gif" alt="Symbol Library"/> 
    48                 </span> 
    49                 <span tal:condition="python:category == 'Text to Speech'"> 
    50                         <img tal:replace="structure here/texttospeech_16.gif" alt="Text to Speech"/> 
    51                 </span> 
    52                 <span tal:condition="python:category == 'Computer Automation'"> 
    53                         <img tal:replace="structure here/automation_16.gif" alt="Computer Automation"/> 
    54                 </span> 
    55                 <span tal:condition="python:category == 'Switch Input Software'"> 
    56                         <img tal:replace="structure here/switch_16.gif" alt="Switch Input"/> 
    57                 </span> 
    58                 <span tal:condition="python:category == 'Alternative and Augmentative Communication'"> 
    59                         <img tal:replace="structure here/aac_16.gif" alt="Alternative and Augmentative Communication"/> 
    60                 </span> 
    61                 <span tal:condition="python:category == 'Environmental Control'"> 
    62                         <img tal:replace="structure here/education_16.gif" alt="Environmental Control"/> 
    63                 </span> 
    64                 <span tal:condition="python:category == 'Educational and Learning'"> 
    65                         <img tal:replace="structure here/education_16.gif" alt="Educational and Learning"/> 
    66                 </span> 
    67                 <span tal:condition="python:category == 'Other function'"> 
    68                         <img tal:replace="structure here/other_16.gif" alt="Other function"/> 
    69                 </span> 
    70         </span> 
    71  
    72         </div> 
    7341 
    7442        <div> 
     
    7745                This is a recommended project. 
    7846        </span> 
    79         <span class = "discreet" tal:condition="python:here.getOats_status() == ('OATSProject',)"> 
    80  
     47 
     48        <span class = "discreet" tal:condition="python:here.getOats_status() == ('OATSProject')"> 
    8149        <img tal:replace="structure here/forge_icon.gif" /> 
    8250                This is an OATS project. 
     
    149117                    </a> 
    150118                </div> 
    151  
    152                 <p> 
    153                     <span tal:replace="latestrelease/Description"> 
    154                     Main focus for this release is blah blah. 
    155                     </span> 
    156  
    157                     <br /> 
    158                     <img tal:replace="structure here/document_icon.gif" /> 
    159                     <a href="#" 
    160                        i18n:translate="label_read_more" 
    161                        tal:attributes="href latestrelease/absolute_url">Read more</a> 
    162                 </p> 
    163119 
    164120                <dl> 
     
    193149            </div> 
    194150 
     151 
     152 
     153                <p> 
     154                    <span tal:replace="latestrelease/Description"> 
     155                    Main focus for this release is blah blah. 
     156                    </span> 
     157                    <span> - </span> 
     158                    <img tal:replace="structure here/document_icon.gif" /> 
     159                    <a href="#" 
     160                       i18n:translate="label_read_more" 
     161                       tal:attributes="href latestrelease/absolute_url">Read more</a> 
     162                </p> 
     163 
    195164        </tal:releases> 
    196165 
  • trunk/PloneSoftwareCenter/skins/plonesoftwarecenter_images

    • Property svn:ignore set to *.db