Last change
on this file since 14896 was
9684,
checked in by Henrik Bettermann, 12 years ago
|
Calculate grade and weight from score and show on courseticketpage only if score attribute is set.
|
File size:
582 bytes
|
Line | |
---|
1 | <table class="form-table" i18n:domain="waeup.kofa"> |
---|
2 | <tbody> |
---|
3 | <tal:widgets content="structure provider:widgets" /> |
---|
4 | <tr tal:condition="context/grade"> |
---|
5 | <td class="fieldname"> |
---|
6 | <span i18n:translate="">Grade</span>: |
---|
7 | </td> |
---|
8 | <td> |
---|
9 | <span tal:replace="context/grade">C</span> |
---|
10 | </td> |
---|
11 | </tr> |
---|
12 | <tr tal:condition="python: context.weight is not None"> |
---|
13 | <td class="fieldname"> |
---|
14 | <span i18n:translate="">Weight</span>: |
---|
15 | </td> |
---|
16 | <td> |
---|
17 | <span tal:replace="context/weight">1</span> |
---|
18 | </td> |
---|
19 | </tr> |
---|
20 | </tbody> |
---|
21 | </table> |
---|
Note: See
TracBrowser for help on using the repository browser.