Changeset 1187


Ignore:
Timestamp:
3 Jan 2007, 18:17:30 (18 years ago)
Author:
joachim
Message:

optimized version of portlet_waeup_status_display

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt

    r1067 r1187  
    11<metal:block define-macro="status_display">
    22<tal:block define="item nocall:options/context_obj;
    3                    item_info item/getContentInfo;
    4                    review_state item/getStudentReviewState;"
     3                   review_info item/getReviewInfo;"
    54                   >
    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>
     5    <span tal:content="review_info" />
     6  </tal:block>
    167</metal:block>
    17 
    18 
Note: See TracChangeset for help on using the changeset viewer.