forked from expo/troggle
Bug fixing of cave and entrance forms removal of slugs
This commit is contained in:
@@ -571,13 +571,13 @@ class Entrance(TroggleModel):
|
||||
def find_location(self):
|
||||
if self.tag_station:
|
||||
s = SurvexStation.objects.lookup(self.tag_station)
|
||||
return "%sE %sN %sAlt" % (s.x, s.y, s.z)
|
||||
return "%0.0fE %0.0fN %0.0fAlt" % (s.x, s.y, s.z)
|
||||
if self.exact_station:
|
||||
s = SurvexStation.objects.lookup(self.exact_station)
|
||||
return "%sE %sN %sAlt" % (s.x, s.y, s.z)
|
||||
return "%0.0fE %0.0fN %0.0fAlt" % (s.x, s.y, s.z)
|
||||
if self.other_station:
|
||||
s = SurvexStation.objects.lookup(self.other_station)
|
||||
return "%sE %sN %sAlt %s" % (s.x, s.y, s.z, self.other_description)
|
||||
return "%0.0fE %0.0fN %0.0fAlt %s" % (s.x, s.y, s.z, self.other_description)
|
||||
if self.bearings:
|
||||
return self.bearings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user