diff --git a/internal/bot/templates/app_home.json.tmpl b/internal/bot/templates/app_home.json.tmpl index ab027b3..94e141e 100644 --- a/internal/bot/templates/app_home.json.tmpl +++ b/internal/bot/templates/app_home.json.tmpl @@ -64,6 +64,10 @@ ] }, {{ range .Channels }} + {{- $connectionMode := .ConnectionMode.String | capitalize }} + {{- if eq $connectionMode "Physical" }} + {{ $connectionMode = "In Person" }} + {{- end }} { "type": "section", "text": { @@ -81,7 +85,7 @@ }, { "type": "mrkdwn", - "text": ":busts_in_silhouette: Connection Mode: *{{ .ConnectionMode.String | capitalize }}*" + "text": ":busts_in_silhouette: Connection Mode: *{{ $connectionMode }}*" }, { "type": "mrkdwn", diff --git a/internal/server/ui/templates/channel.gohtml b/internal/server/ui/templates/channel.gohtml index e7d6447..b2fd86e 100644 --- a/internal/server/ui/templates/channel.gohtml +++ b/internal/server/ui/templates/channel.gohtml @@ -99,7 +99,7 @@ class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> - diff --git a/internal/server/ui/templates/profile.gohtml b/internal/server/ui/templates/profile.gohtml index 1899583..7eda727 100644 --- a/internal/server/ui/templates/profile.gohtml +++ b/internal/server/ui/templates/profile.gohtml @@ -5,9 +5,14 @@
Chat Roulette Channels
- {{ if .Channels }} +{{ if .Channels }}