Changeset 7754


Ignore:
Timestamp:
2 Mar 2012, 21:13:11 (13 years ago)
Author:
Henrik Bettermann
Message:

Translate AC state in tables.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/searchpage.pt

    r7719 r7754  
    3434        <td tal:content="item/batch_serial">1</td>
    3535        <td tal:content="item/code">APP-1-1234567890</td>
    36         <td tal:content="item/state">unused</td>
     36        <td tal:content="item/translated_state">unused</td>
    3737        <td tal:content="item/owner">Id</td>
    3838          <td tal:content="structure python:item.history.replace('||','<br />')">
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/catalog.py

    r7748 r7754  
    4949        self.code = context.representation
    5050        self.history = context.history
    51         self.state = context.state
     51        self.translated_state = context.translated_state
    5252        self.owner = context.owner
    5353        self.batch_serial = context.batch_serial
Note: See TracChangeset for help on using the changeset viewer.