From 8ddd44bb1ccaf5fa468e0fa8d1dd4d129d8f46a7 Mon Sep 17 00:00:00 2001 From: Kendall Nelson Date: Thu, 12 May 2022 06:15:01 -0500 Subject: [PATCH] Update Bot to Show Room Descriptions Also adds examples of text for the description field to base.json Change-Id: Iac2201b9220db2c9b4c07a72cae1437b3f97de3a --- base.json | 2 ++ ptgbot/html/ptg.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/base.json b/base.json index 1664045..14efcf9 100644 --- a/base.json +++ b/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", diff --git a/ptgbot/html/ptg.html b/ptgbot/html/ptg.html index 79daa0e..e5ab9fc 100644 --- a/ptgbot/html/ptg.html +++ b/ptgbot/html/ptg.html @@ -117,7 +117,7 @@ {{#each @root.schedule as |sched room|}} {{#if (roomactive @root.schedule room times)}} - {{room}}{{#if sched.cap_icon}} + {{room}}{{#if sched.desc}}
({{sched.desc}}){{/if}}{{#if sched.cap_icon}} {{/if}} {{#each (lookup @root.slots day) as |time|}}