More descriptive spaceapi status line

master
informatic 2013-09-03 16:26:12 +02:00
parent 3a8c5412fa
commit 253388c26b
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ def spaceapi():
}, },
"state": { "state": {
"open": space_open, "open": space_open,
"message": "open for public" if open_day else "members only", "message": ("open for public" if open_day else "members only") +
(", %d multicellular bodies present" % people_now_present['value'] if people_now_present['value'] else ""),
# @TODO: customized *space* logo # @TODO: customized *space* logo
"icon": { "icon": {
"open": "https://static.hackerspace.pl/img/status-open-small.png", "open": "https://static.hackerspace.pl/img/status-open-small.png",