Changeset 408


Ignore:
Timestamp:
23 Aug 2006, 05:19:46 (18 years ago)
Author:
joachim
Message:

undoing changes in 404

Location:
WAeUP_SRP/trunk
Files:
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/TODO.txt

    r405 r408  
    22role of the current user.
    33
    4 - More detailed error messages
     4- A StudyLevel Delete Button is still missing.
     5
     6- Approve und Retract should only be visible for the waeup_base workflow.
    57
    68- An 'Up' action should be included
  • WAeUP_SRP/trunk/profiles/default/cps_portlets.xml

    r405 r408  
    7171 <object name="portlet_882630613" meta_type="CPS Portlet"
    7272    portal_type="Actions Portlet"/>
    73  <object name="portlet_916675861" meta_type="CPS Portlet"
    74     portal_type="Custom Portlet"/>
    75  <object name="portlet_916675862" meta_type="CPS Portlet"
    76     portal_type="Custom Portlet"/>
    7773 <object name="portlet_951449960" meta_type="CPS Portlet"
    7874    portal_type="Breadcrumbs Portlet"/>
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt

    r405 r408  
    33           isAnon mtool/isAnonymousUser;
    44           roles member/getRoles;
    5            backend python:'Manager' in roles or 'SectionManager' in roles;
     5           backend python:'UniversityManager' in roles or 'StudentManager' in roles;
    66           frontend python:'Student' in roles or isAnon;"
    77           >
    88  <tal:block condition="not:isAnon">
    9        <strong> <span tal:content="python:member.getProperty('fullname',None)" />
    10        </strong>
     9    <tal:block condition="backend">
     10      <em tal:content="member" /> is working in back-end mode<br />
     11      <span  tal:condition="python: 1" >
     12        with Basic Roles <span tal:content="member/getRoles" /><br />
     13        <span tal:condition="python: 0" tal:content="python:mtool.getCPSCandidateLocalRoles(context)" />
     14      </span>
     15    </tal:block>
     16    <tal:block condition="not:backend">
     17      <em tal:content="member" /> is working in front-end mode<br />
     18      <span  tal:condition="python: 1" >
     19        with Basic Roles <span tal:content="member/getRoles" /><br />
     20        <span tal:condition="python: 0" tal:content="python:mtool.getCPSCandidateLocalRoles(context)" />
     21      </span>
     22    </tal:block>
     23    <tal:block condition="python: 0">
     24    <br />
     25    <a href="" tal:condition="python: 'Student' in member.getRoles() and not 'UniversityManager' in member.getRoles()"
     26       tal:attributes="href string:${context/portal_url}/students/${member}">
     27      Go to your personal area
     28    </a>
     29    </tal:block>
     30    <br />
     31    <a href="" tal:condition="python: 0"
     32       tal:attributes="href string:${context/portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}">       
     33      Edit your Preferences
     34    </a>
     35    <br />
     36    <a href="" i18n:translate=""
     37       tal:attributes="href string:logout">
     38      Log out
     39    </a>
    1140  </tal:block>
    12 
    1341  <tal:block condition="isAnon">
    14     <div>You are not logged in.</div>
     42    <div>You are not logged in. </div>
     43    <br />
     44    <a href="" tal:attributes="href string:login_form">Log in</a>
    1545  </tal:block>
    1646</tal:block>
Note: See TracChangeset for help on using the changeset viewer.