Changeset 12344


Ignore:
Timestamp:
30 Dec 2014, 15:40:41 (10 years ago)
Author:
Henrik Bettermann
Message:

Display only the first 6 digits of uuids.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/contractsmanagepage.pt

    r12337 r12344  
    2323        <td>
    2424          <a tal:attributes="href python: view.url(contract)">
    25           <span tal:content="contract/contract_id">CONID</span></a>
     25          <span tal:content="python: contract.contract_id[:6]">CONID</span>...</a>
    2626        </td>
    2727        <td>
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/documentsmanagepage.pt

    r12056 r12344  
    1414    </thead>
    1515    <tbody>
    16       <tr tal:repeat="cl context/values">
     16      <tr tal:repeat="document context/values">
    1717         <td>
    1818          <input type="checkbox"
    1919                 name="val_id"
    20                  tal:attributes="value cl/__name__"
    21          tal:condition="python: not view.unremovable(cl)" />
     20                 tal:attributes="value document/__name__"
     21         tal:condition="python: not view.unremovable(document)" />
    2222        </td>
    2323        <td>
    24           <a tal:attributes="href python: view.url(cl)">
    25           <span tal:content="cl/document_id">DOCID</span></a>
     24          <a tal:attributes="href python: view.url(document)">
     25          <span tal:content="python: document.document_id[:6]">DOCID</span>...</a>
    2626        </td>
    2727        <td>
    28           <span tal:content="cl/title">TITLE</span>
     28          <span tal:content="document/title">TITLE</span>
    2929        </td>
    3030        <td>
    31           <span tal:content="cl/translated_class_name">CLASSNAME</span>
     31          <span tal:content="document/translated_class_name">CLASSNAME</span>
    3232        </td>
    3333        <td>
    34           <span tal:content="cl/translated_state">STATE</span>
     34          <span tal:content="document/translated_state">STATE</span>
    3535        </td>
    3636        <td>
    37           <span tal:content="cl/formatted_transition_date">
     37          <span tal:content="document/formatted_transition_date">
    3838              LASTTRANSITIONDATE
    3939          </span>
Note: See TracChangeset for help on using the changeset viewer.