Ignore:
Timestamp:
10 Mar 2008, 07:13:11 (17 years ago)
Author:
Henrik Bettermann
Message:

set correct import_date and imported_by

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_upload/uploads_index.py

    r3307 r3308  
    7676        row['imported'] = True
    7777        row['msg'] = import_message
    78         if getattr(doc,'imported_at',''):
    79             row['imported_at'] = doc.imported_at.strftime("%d/%m/%y %H:%M:%S")
     78        if getattr(doc,'import_date',''):
     79            row['import_date'] = doc.import_date.strftime("%d/%m/%y %H:%M:%S")
    8080        else:
    81             row['imported_at'] = ''
     81            row['import_date'] = ''
    8282        add_to = imported
    8383    else:
     
    9696info['imported'] = imported
    9797info['importable'] = importable
    98 info['import_allowed'] = str(member) in ('admin','joachim',) 
     98info['import_allowed'] = str(member) in ('admin','joachim',)
    9999
    100100validate = "upload" in request.keys()
Note: See TracChangeset for help on using the changeset viewer.