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>
|
|
|
|
<p><a class="btn" href="/"><%= t('activation.continue_button', site_name: SiteSetting.title) -%></a></p>
|
|
|
|
<%= render partial: 'auto_redirect_home' %>
|
2014-07-15 00:25:42 +08:00
|
|
|
<% end %>
|
|
|
|
<%end%>
|
|
|
|
</div>
|