Tweak default labels for created(by) batch form fields

This commit is contained in:
Lance Edgar 2017-09-23 11:48:38 -05:00
parent 8d78fad621
commit e1384c2ab1

View file

@ -1051,8 +1051,6 @@ class FileBatchMasterView(BatchMasterView):
def _preconfigure_fieldset(self, fs): def _preconfigure_fieldset(self, fs):
super(FileBatchMasterView, self)._preconfigure_fieldset(fs) super(FileBatchMasterView, self)._preconfigure_fieldset(fs)
fs.created.set(label="Uploaded")
fs.created_by.set(label="Uploaded by")
fs.filename.set(label="Data File", renderer=FileFieldRenderer.new(self)) fs.filename.set(label="Data File", renderer=FileFieldRenderer.new(self))
if self.editing: if self.editing:
fs.filename.set(readonly=True) fs.filename.set(readonly=True)