+<%
+ wb2_url = nil
+ if Rails.configuration.Services.Workbench2.ExternalURL != URI("")
+ wb2_url = Rails.configuration.Services.Workbench2.ExternalURL.to_s
+ wb2_url += '/' if wb2_url[-1] != '/'
+ wb2_url += "token?api_token=" + Thread.current[:arvados_api_token]
+ end
+%>
+<p><b>IMPORTANT:</b> This token will expire when logged out. If you need a token for a long running process, it is recommended to <% if wb2_url %><a href="<%= wb2_url %>">get a token from Workbench2's Get API token dialog</a>. <% else %> create a new token using the CLI tools.<% end %></p>