improve field display description

This commit is contained in:
Laura Klünder 2017-11-22 18:23:08 +01:00
parent feabf040a0
commit 494c68e08a
2 changed files with 3 additions and 3 deletions

View file

@ -104,8 +104,8 @@ class Location(LocationSlug, AccessRestrictionMixin, TitledMixin, models.Model):
def details_display(self):
result = super().details_display()
result['display'].extend([
(str(_('can be searched')), str(_('yes') if self.can_search else _('no'))),
(str(_('can describe')), str(_('yes') if self.can_describe else _('no')))
(str(_('searchable')), str(_('Yes') if self.can_search else _('No'))),
(str(_('can describe')), str(_('Yes') if self.can_describe else _('No')))
])
return result