Changeset 51

Show
Ignore:
Timestamp:
30/01/06 22:50:44
Author:
sjudge
Message:

Small layout changes to popoll_slot2.pt (still need to fix redirect).
resources_portlet.pt changed to include sub-items from Help Center

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/OATSOFT/skins/oatsoft_styles/popoll_slot2.pt

    r50 r51  
    3131 
    3232          <form tal:condition="python:(not poll.hasVoted() and poll.isEnabled())" name="results" action="" method="post"  
    33               enctype="multipart/form-data" tal:attributes="action string:${here/absolute_url}" > 
     33              enctype="multipart/form-data" tal:attributes="action string:${poll_url}/PlonePopoll_vote2" > 
    3434 
    3535          <span tal:repeat="choice python: poll.listPollChoices()"> 
  • trunk/OATSOFT/skins/oatsoft_styles/resources_portlet.pt

    r50 r51  
    3232                </li> 
    3333 
    34                 <li tal:condition="python: 'FAQ' in here.objectIds() and not here.getDocumentationLink()"> 
     34                <li tal:condition="python: here.getDocumentationID() in here.objectIds() and not here.getDocumentationLink() and 'faq' in here.help.objectIds()"> 
    3535                    <img src="" alt="help" 
    36                          tal:attributes="src string:${portal_url}/FAQ_icon.gif" /> 
     36                         tal:attributes="src string:${portal_url}/faq_icon.gif" /> 
    3737                    <a href="" 
    3838                       class="link-plain" 
    39                        title="Documentation for this project" 
    40                        tal:attributes="href string:${here/absolute_url}/${here/getDocumentationID}/FAQ" >FAQ</a> 
     39                       title="Frequently asked questions for this project" 
     40                       tal:attributes="href string:${here/absolute_url}/${here/getDocumentationID}/faq" >FAQ</a> 
     41                </li> 
     42 
     43 
     44                <li tal:condition="python: here.getDocumentationID() in here.objectIds() and not here.getDocumentationLink() and 'how-to' in here.help.objectIds()"> 
     45                    <img src="" alt="help" 
     46                         tal:attributes="src string:${portal_url}/howto_icon.gif" /> 
     47                    <a href="" 
     48                       class="link-plain" 
     49                       title="'How To' documents for this project" 
     50                       tal:attributes="href string:${here/absolute_url}/${here/getDocumentationID}/how-to" >How Tos</a> 
     51                </li> 
     52 
     53 
     54                <li tal:condition="python: here.getDocumentationID() in here.objectIds() and not here.getDocumentationLink() and 'tutorial' in here.help.objectIds()"> 
     55                    <img src="" alt="help" 
     56                         tal:attributes="src string:${portal_url}/tutorial_icon.gif" /> 
     57                    <a href="" 
     58                       class="link-plain" 
     59                       title="Tutorials for this project" 
     60                       tal:attributes="href string:${here/absolute_url}/${here/getDocumentationID}/tutorial" >Tutorials</a> 
    4161                </li> 
    4262