2014-07-15 00:25:42 +08:00
|
|
|
<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>
|
2014-07-24 00:32:06 +08:00
|
|
|
<br>
|
|
|
|
|
2014-07-15 00:25:42 +08:00
|
|
|
<% if @needs_approval %>
|
2014-07-24 00:32:06 +08:00
|
|
|
<p><%= t 'activation.approval_required' %></p>
|
2014-07-15 00:25:42 +08:00
|
|
|
<% else %>
|
2014-07-24 00:32:06 +08:00
|
|
|
<p><%= t('activation.please_continue') %></p>
|
2015-03-09 08:45:36 +08:00
|
|
|
<p><a class="btn" href="<%= path "/" %>"><%= t('activation.continue_button', site_name: SiteSetting.title) -%></a></p>
|
2018-10-25 21:52:01 +08:00
|
|
|
<%- content_for(:no_ember_head) do %>
|
|
|
|
<%= tag.meta id: 'data-auto-redirect', data: { path: path('/') } %>
|
|
|
|
<%- end %>
|
|
|
|
<%= preload_script 'auto-redirect' %>
|
2014-07-15 00:25:42 +08:00
|
|
|
<% end %>
|
|
|
|
<%end%>
|
|
|
|
</div>
|