render space inventory
This commit is contained in:
parent
f0b35a902f
commit
31160e1141
2 changed files with 40 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue