mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 14:33:43 +08:00
a6eca28ec6
* wizard page inline js * print topic inline js * drop JS for preventing double submission this is the default behavior with Rails' UJS `disable_with` helper * omniauth complete redirect JS * account activate inline js
23 lines
707 B
Plaintext
23 lines
707 B
Plaintext
<div id='simple-container'>
|
|
|
|
<%if flash[:error]%>
|
|
<div class='alert alert-error'>
|
|
<%=flash[:error]%>
|
|
</div>
|
|
<%else%>
|
|
<h2><%= t 'activation.welcome_to', site_name: SiteSetting.title %></h2>
|
|
<br>
|
|
|
|
<% if @needs_approval %>
|
|
<p><%= t 'activation.approval_required' %></p>
|
|
<% else %>
|
|
<p><%= t('activation.please_continue') %></p>
|
|
<p><a class="btn" href="<%= path "/" %>"><%= t('activation.continue_button', site_name: SiteSetting.title) -%></a></p>
|
|
<%- content_for(:no_ember_head) do %>
|
|
<%= tag.meta id: 'data-auto-redirect', data: { path: path('/') } %>
|
|
<%- end %>
|
|
<%= preload_script 'auto-redirect' %>
|
|
<% end %>
|
|
<%end%>
|
|
</div>
|