Changeset 12445 for main/waeup.ikoba/trunk/src/waeup/ikoba
- Timestamp:
- 12 Jan 2015, 07:01:55 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/customers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12398 r12445 800 800 @property 801 801 def title(self): 802 return "%s..." % self.context.document_id[: 6]802 return "%s..." % self.context.document_id[:9] 803 803 804 804 … … 1165 1165 @property 1166 1166 def title(self): 1167 return "%s..." % self.context.contract_id[: 6]1167 return "%s..." % self.context.contract_id[:9] 1168 1168 1169 1169 -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/contractsmanagepage.pt
r12344 r12445 23 23 <td> 24 24 <a tal:attributes="href python: view.url(contract)"> 25 <span tal:content="python: contract.contract_id[: 6]">CONID</span>...</a>25 <span tal:content="python: contract.contract_id[:9]">CONID</span>...</a> 26 26 </td> 27 27 <td> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/documentsmanagepage.pt
r12344 r12445 23 23 <td> 24 24 <a tal:attributes="href python: view.url(document)"> 25 <span tal:content="python: document.document_id[: 6]">DOCID</span>...</a>25 <span tal:content="python: document.document_id[:9]">DOCID</span>...</a> 26 26 </td> 27 27 <td> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12444 r12445 860 860 861 861 # Document can be edited 862 self.browser.getLink(docid[: 6]).click()862 self.browser.getLink(docid[:9]).click() 863 863 self.browser.getLink("Manage").click() 864 864 self.browser.getControl(name="form.title").value = 'My second doc' -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/vocabularies.py
r12351 r12445 162 162 163 163 def getTitle(self, context, value): 164 return "%s... - %s" % (value.document_id[: 6], value.title)164 return "%s... - %s" % (value.document_id[:9], value.title) 165 165 166 166
Note: See TracChangeset for help on using the changeset viewer.