Browse Source

Update Bot to Show Room Descriptions

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

Change-Id: Iac2201b9220db2c9b4c07a72cae1437b3f97de3a
changes/75/841575/2
Kendall Nelson 1 month ago
parent
commit
8ddd44bb1c
  1. 2
      base.json
  2. 2
      ptgbot/html/ptg.html

2
base.json

@ -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",

2
ptgbot/html/ptg.html

@ -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|}}

Loading…
Cancel
Save