From e62179f14218f3eee01cf780160f09867641f9e5 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 27 Nov 2025 14:39:17 -0500 Subject: pad tweaks --- emacsconf-pad.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'emacsconf-pad.el') diff --git a/emacsconf-pad.el b/emacsconf-pad.el index 0a958e1..7d43423 100644 --- a/emacsconf-pad.el +++ b/emacsconf-pad.el @@ -765,19 +765,19 @@ ${bbb-checklist}") ", and \\1" (plist-get talk :speakers)) (emacsconf-surround " (" (plist-get talk :pronunciation) ")" "") - (pcase (plist-get talk :q-and-a) + (pcase (plist-get talk :qa-type) ((or 'nil "") "") - ((rx "after") "\nYou can ask questions via Etherpad and IRC.\nWe'll send them to the speaker,\nand we'll post the answers on the talk page afterwards.") - ((rx "live") + ("none" "\nYou can ask questions via Etherpad and IRC.\nWe'll send them to the speaker,\nand we'll post the answers on the talk page afterwards.") + ("live" (if pronoun (format "\n%s will answer questions via web conference.\nYou can join using the URL from the talk page\nor ask questions through Etherpad or IRC." pronoun) "\nYou can ask questions via web conference by joining from the talk page\nor ask questions through Etherpad or IRC.")) - ((rx "pad") + ("pad" (if pronoun (format "\n%s will answer questions via Etherpad." pronoun) "\nYou can ask questions via Etherpad.")) - ((rx "IRC") + ("irc" (if pronoun (format "\n%s will answer questions via IRC in the #%s channel." pronoun @@ -822,7 +822,7 @@ ${bbb-checklist}") (setq result (emacsconf-replace-plist-in-string modified-talk - (format "
  • %s %s (intro: %s, talk: %s, Q&A: %s) %s %s\n
  • " + (format "
  • %s %s (intro: %s, talk: %s, Q&A: %s) %s %s
    \n
  • " (format-time-string "%-l:%M %p" (plist-get talk :start-time) emacsconf-timezone) (plist-get talk :slug) (if (plist-get talk :recorded-intro) "recorded" "live") @@ -831,7 +831,9 @@ ${bbb-checklist}") (plist-get talk :title) (plist-get talk :absolute-url) (plist-get talk :absolute-url) - + (emacsconf-surround "" (plist-get talk :speakers) "" "No speakers") + (emacsconf-surround " Pron: " (plist-get talk :pronunciation) "" "") + (emacsconf-surround " (" (plist-get talk :pronouns) ")" "") (concat (emacsconf-surround "
  • " (plist-get talk :hyperlist-note) "
  • " "") "
  • Recorded intro: ${media-base}${year}/backstage/${file-prefix}--intro.webm" -- cgit v1.2.3