msp: only show filename and expiration date in filepicker list

This commit is contained in:
Benjamin Dauvergne 2013-10-25 23:37:34 +02:00
parent 082a174080
commit 15ac035e7d
1 changed files with 1 additions and 5 deletions

View File

@ -124,17 +124,13 @@ class MSPDirectory(Directory):
'<thead>'
'<tr>'
'<th>%s</th>' % _('Filename')
'<th>%s</th>' % _('Title')
'<th>%s</th>' % _('Creation date')
'<th>%s</th>' % _('Expiration date')
'<th>%s</th>' % _('Description')
'</tr>'
'</thead>'
'<tbody>'
for document in documents:
'<tr>'
for key in ('name', 'title', 'createdDate', 'expirationDate',
'description'):
for key in ('name', 'expirationDate'):
'<td class="msp-pick-file-table-%s">' % key
if key == 'name':
'<a href="%s/msp/download?doc_id=%s">' % \