diff --git a/app/views/sessions/show.html.erb b/app/views/sessions/show.html.erb index 3fb578a4369a5936d519f2d8d4d6dce442efa2c2..39a2b539080bbdf53a0ad123bdb5962cec66db53 100644 --- a/app/views/sessions/show.html.erb +++ b/app/views/sessions/show.html.erb @@ -1,6 +1,11 @@ <div> <h6><%= link_to @session.conference.name, @session.conference %></h6> - <h1><%= @session.title %></h1> + <h1> + <%= @session.title %> + <% unless @session.url.blank? %> + <%= link_to "🔗 open in Fahrplan", @session.url, class: "ml-4 font-normal" %> + <% end %> + </h1> <h2><%= @session.language %> <%= @session.is_interpreted ? "(live interpretation)" : "" %></h2> <h2><%= @session.starts_at.strftime("%Y-%m-%d") %> <%= @session.starts_at.strftime("%H:%M") %> – <%= @session.ends_at.strftime("%H:%M") %></h2> <h2><%= @session.stage.name %>· <%= @session.session_format %> · <%= @session.track %></h2>