aboutsummaryrefslogtreecommitdiffstats
path: root/room-schedule.rb
diff options
context:
space:
mode:
Diffstat (limited to 'room-schedule.rb')
-rw-r--r--room-schedule.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/room-schedule.rb b/room-schedule.rb
index bb6e677..fd4e282 100644
--- a/room-schedule.rb
+++ b/room-schedule.rb
@@ -94,6 +94,9 @@ module SVG
p = body.add_element("p", {
"class" => "event-title",
})
+ if entry.link
+ p = p.add_element("a", { "href" => entry.link })
+ end
p.add_text(entry.title)
t = switch.add_element("text", {
"x" => (bar_start + @font_size / 2).to_s,