show altitude marker altitude in title / list
This commit is contained in:
parent
eea7dac41a
commit
8bdd3d174d
1 changed files with 4 additions and 0 deletions
|
@ -220,3 +220,7 @@ class AltitudeMarker(SpaceGeometryMixin, models.Model):
|
|||
verbose_name = _('Altitude Marker')
|
||||
verbose_name_plural = _('Altitude Markers')
|
||||
default_related_name = 'altitudemarkers'
|
||||
|
||||
@property
|
||||
def title(self):
|
||||
return '%s (%sm)' % (super().title, self.altitude)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue