Update Bot to Show Room Descriptions

Also adds examples of text for the description field
to base.json

Change-Id: Iac2201b9220db2c9b4c07a72cae1437b3f97de3a
This commit is contained in:
Kendall Nelson 2022-05-12 06:15:01 -05:00
parent b072d88c0a
commit 8ddd44bb1c
2 changed files with 3 additions and 1 deletions

View File

@ -158,6 +158,7 @@
"Aspen": {
"cap_icon": "facetime-video",
"cap_desc": "Videoprojection available",
"desc": "Fits a team of 10",
"FriA1": "",
"FriA2": "",
"FriP1": "",
@ -181,6 +182,7 @@
},
"Ballroom A": {
"url": "http://meet.jit.si/DEN-ptg-BallroomA",
"desc": "10 person table",
"FriA1": "nova",
"FriA2": "nova",
"FriP1": "nova",

View File

@ -117,7 +117,7 @@
</tr></thead>
{{#each @root.schedule as |sched room|}}
{{#if (roomactive @root.schedule room times)}}
<tr><td>{{room}}{{#if sched.cap_icon}}
<tr><td>{{room}}{{#if sched.desc}}<br>({{sched.desc}}){{/if}}{{#if sched.cap_icon}}
<span class="glyphicon glyphicon-{{sched.cap_icon}}"
title="{{sched.cap_desc}}"></span>{{/if}}</td>
{{#each (lookup @root.slots day) as |time|}}