diff --git a/README.rst b/README.rst index c9ff2bf..d138982 100644 --- a/README.rst +++ b/README.rst @@ -229,7 +229,7 @@ In one terminal, run the bot:: Join that channel and give commands to the bot:: - ~fetchdb http://paste.openstack.org/raw/737820/ + ~fetchdb http://paste.openstack.org/raw/755516/ #swift now discussing ring placement (note, the bot currently only takes commands from Freenode identified users) diff --git a/html/fonts/glyphicons-halflings-regular.eot b/html/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000..b93a495 Binary files /dev/null and b/html/fonts/glyphicons-halflings-regular.eot differ diff --git a/html/fonts/glyphicons-halflings-regular.svg b/html/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000..94fb549 --- /dev/null +++ b/html/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/html/fonts/glyphicons-halflings-regular.ttf b/html/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000..1413fc6 Binary files /dev/null and b/html/fonts/glyphicons-halflings-regular.ttf differ diff --git a/html/fonts/glyphicons-halflings-regular.woff b/html/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000..9e61285 Binary files /dev/null and b/html/fonts/glyphicons-halflings-regular.woff differ diff --git a/html/fonts/glyphicons-halflings-regular.woff2 b/html/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 0000000..64539b5 Binary files /dev/null and b/html/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/html/ptg.html b/html/ptg.html index cbd6fa1..7c1fa35 100644 --- a/html/ptg.html +++ b/html/ptg.html @@ -102,7 +102,9 @@ {{#each @root.schedule as |sched room|}} {{#if (roomactive @root.schedule room times)}} - {{room}} + {{room}}{{#if sched.cap_icon}} + {{/if}} {{#each (lookup @root.slots day) as |time|}} {{ roomcode @root.schedule room time.name 0 }} {{/each}} diff --git a/ptgbot/db.py b/ptgbot/db.py index 5dc0e36..61060c3 100644 --- a/ptgbot/db.py +++ b/ptgbot/db.py @@ -62,7 +62,9 @@ class PTGDataBase(): # Add tracks mentioned in configuration that are not in track list for room, bookings in self.data['schedule'].items(): for time, track in bookings.items(): - if track not in self.data['tracks']: + if time in ['cap_icon', 'cap_desc']: + continue + if track and track not in self.data['tracks']: self.add_tracks([track]) self.colorize()