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

Last change on this file since 1131 was 1067, checked in by joachim, 18 years ago

a lot of optimizations

  • Property svn:keywords set to Id
File size: 597 bytes
Line 
1<metal:block define-macro="status_display">
2<tal:block define="item nocall:options/context_obj;
3                   item_info item/getContentInfo;
4                   review_state item/getStudentReviewState;"
5                   >
6    <span tal:condition="review_state">
7    <span tal:content="review_state" /> 
8    <span tal:condition="python:item_info['review_state']!= review_state">
9       / <span tal:content="item_info/review_state" />
10    </span>
11  </ span>
12  <span tal:condition="not: review_state">
13    <span tal:content="item_info/review_state" />
14  </span>
15</tal:block>
16</metal:block>
17
18
Note: See TracBrowser for help on using the repository browser.