source: WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt @ 1060

Last change on this file since 1060 was 888, checked in by Henrik Bettermann, 18 years ago

some fixes according to email
portlet_waeup_status_display now displays also student state

  • Property svn:keywords set to Id
File size: 858 bytes
Line 
1<metal:block define-macro="status_display">
2<tal:block define="item nocall:options/context_obj;
3                   item_info item/getContentInfo;
4                   student_info item/getStudentInfo;
5                   base_url python: request.get('cpsskins_base_url');
6                   states_not_shown python: ('work',);">
7
8
9<span tal:condition="python:path('item_info/review_state') not in states_not_shown ">                  
10                   
11  <span tal:condition="student_info">
12    <span tal:content="student_info/review_state" /> 
13    <span tal:condition="python:item_info['review_state']!=student_info['review_state']">
14       / <span tal:content="item_info/review_state" />
15    </span>
16  </ span>
17
18  <span tal:condition="not: student_info">
19    <span tal:content="item_info/review_state" />
20  </span>
21
22</span>
23</tal:block>
24</metal:block>
25
26
Note: See TracBrowser for help on using the repository browser.