render space inventory

This commit is contained in:
Laura Klünder 2017-05-13 21:25:57 +02:00
parent f0b35a902f
commit 31160e1141
2 changed files with 40 additions and 1 deletions

View file

@ -80,7 +80,7 @@ class Space(SpecificLocation, LevelSectionGeometryMixin, models.Model):
def get_color(self):
color = {
'stairs': '#dddddd',
'escalator': '#a9a9a9',
'escalator': '#bbbbbb',
'elevator': '#00ffff',
}.get(self.category)
if not color: