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