Ignore:
Timestamp:
21 Sep 2012, 08:19:35 (12 years ago)
Author:
uli
Message:

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

Location:
main/waeup.kofa/branches/uli-zc-async
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-zc-async

  • main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/browser/layout.py

    r9209 r9211  
    191191    grok.baseclass()
    192192    template = default_waeup_display_template
    193     hide_hint = True
    194193
    195194class KofaEditFormPage(UtilityView,EditForm):
     
    216215        if self.widgets.get('perm_address'):
    217216            self.widgets['perm_address'].cssClass = 'span8'
    218             self.widgets['perm_address'].height = 6
    219         if self.widgets.get('next_kin_address'):
    220             self.widgets['next_kin_address'].cssClass = 'span8'
    221             self.widgets['next_kin_address'].height = 6
    222         if self.widgets.get('notice'):
    223             self.widgets['notice'].cssClass = 'span8'
    224             self.widgets['notice'].height = 6
     217            self.widgets['perm_address'].height = 10
    225218        if self.widgets.get('description'):
    226219            self.widgets['description'].cssClass = 'span12'
     
    313306        else:
    314307            return None
    315            
    316     def formatTZDate(self,datetimeobj):
    317         if isinstance(datetimeobj, datetime):
    318             tz = getUtility(IKofaUtils).tzinfo
    319             date = to_timezone(
    320                 datetimeobj, tz).strftime("%d/%m/%Y")
    321             return date
    322         else:
    323             return None         
    324308
    325309    def update(self):
Note: See TracChangeset for help on using the changeset viewer.