Changeset 12225 for main/waeup.ikoba/trunk/src/waeup/ikoba
- Timestamp:
- 14 Dec 2014, 09:45:35 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12221 r12225 642 642 class CustomerFilesUploadPage(IkobaPage): 643 643 """ View to upload files by customer 644 645 We use this page only to upload a passport picture (portrait). 644 646 """ 645 647 grok.context(ICustomer) … … 647 649 grok.require('waeup.uploadCustomerFile') 648 650 grok.template('filesuploadpage') 649 label = _(' Upload files')651 label = _('Change portrait') 650 652 pnav = 4 651 653 -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser.py
r12222 r12225 179 179 tabtwoactions2 = [_('Add local role')] 180 180 181 deletion_warning = _('Are you sure?') 182 181 183 @property 182 184 def form_fields(self): -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser_templates/documentmanagepage.pt
r12206 r12225 7 7 </li> 8 8 <li> 9 <a href="#tab2" data-toggle="tab" i18n:translate="">Local Roles</a> 9 <a href="#tab2" data-toggle="tab" i18n:translate="">Files</a> 10 </li> 11 <li> 12 <a href="#tab3" data-toggle="tab" i18n:translate="">Local Roles</a> 10 13 </li> 11 14 </ul> … … 27 30 </div> 28 31 <div id="tab2" class="tab-pane"> 32 <br /> 33 <table class="form-table"> 34 <tbody> 35 <tal:files content="structure provider:files" /> 36 </tbody> 37 </table> 38 </div> 39 <div id="tab3" class="tab-pane"> 29 40 <br /> 30 41 <table class="ikoba-data-table dataTableManage"> -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/document.py
r12222 r12225 127 127 return 128 128 129 def writeLogMessage(self, view, message): 130 ob_class = view.__implemented__.__name__.replace('waeup.ikoba.','') 131 self.__parent__.__parent__.logger.info( 132 '%s - %s - %s' % (ob_class, self.__name__, message)) 133 return 134 129 135 130 136 class PDFDocument(PublicDocumentBase): -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py
r12214 r12225 65 65 """ 66 66 67 def writeLogMessage(view, message): 68 """Write a view specific log message into main.log. 69 70 """ 71 72 67 73 68 74 class IPDFDocument(IPublicDocument):
Note: See TracChangeset for help on using the changeset viewer.