diff options
Diffstat (limited to 'lib/lsg_web/templates/irc/index.html.eex')
-rw-r--r-- | lib/lsg_web/templates/irc/index.html.eex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lsg_web/templates/irc/index.html.eex b/lib/lsg_web/templates/irc/index.html.eex index a8544b3..f20f444 100644 --- a/lib/lsg_web/templates/irc/index.html.eex +++ b/lib/lsg_web/templates/irc/index.html.eex @@ -1,5 +1,6 @@ <div class="hidden sm:block"> - <nav class="flex flex-wrap content-center"> + <nav class="flex flex-wrap content-center"> + <%= link("live", to: LSGWeb.Router.Helpers.live_path(LSGWeb.Endpoint, LSGWeb.ChatLive, @network, LSGWeb.format_chan(@chan)), class: "px-3 py-2 font-medium text-sm leading-5 rounded-md text-gray-500 hover:text-gray-700 focus:outline-none focus:text-indigo-600 focus:bg-indigo-50") %> <% list = for {identifier, _} <- @commands do %> <% name = String.replace(identifier, "_", " ") %> <%= link(name, to: "##{identifier}", class: "px-3 py-2 font-medium text-sm leading-5 rounded-md text-gray-500 hover:text-gray-700 focus:outline-none focus:text-indigo-600 focus:bg-indigo-50") %> |