Sha256: b22217d783d253cec5b63179ad4c36b8907b59e1aa980a4092ec476c66d70d30

Contents?: true

Size: 783 Bytes

Versions: 4

Compression:

Stored size: 783 Bytes

Contents

<%- @title = p_("MultiAuth", "Logged in successfully.") -%>
<%- @enable_side_column = false -%>
<%- @stylesheets = %[auth] -%>

<%- additional_head { -%>
  <%# MEMO: meta要素による自動遷移は無効化されている可能性があるため、JavaScriptによる遷移を併用する %>
  <meta http-equiv="refresh" content="1; URL=<%= URI.escape(@return_path) %>" />
  <script type="text/javascript">
    // <![CDATA[
    setTimeout(function() {
      window.location = "<%= URI.escape(@return_path) %>";
    }, 2000);
    // ]]>
  </script>
<%- } -%>

<div id="dialog">
  <h1><%=h @title %></h1>
  <div class="message">
    <%=h p_("MultiAuth", "Please click %{link} when the page doesn't change." % { :link => link_to(h(@return_path), @return_path) }) %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
okkez-multi_auth-0.0.6 app/views/auth/logged_in.html.erb
multi_auth-0.0.6 app/views/auth/logged_in.html.erb
okkez-multi_auth-0.0.5 app/views/auth/logged_in.html.erb
multi_auth-0.0.5 app/views/auth/logged_in.html.erb