msp: only show filename and expiration date in filepicker list
This commit is contained in:
parent
082a174080
commit
15ac035e7d
|
@ -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">' % \
|
||||
|
|
Reference in New Issue