2014-07-14 12:25:42 -04: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 12:32:06 -04:00
|
|
|
<br>
|
|
|
|
|
2014-07-14 12:25:42 -04:00
|
|
|
<% if @needs_approval %>
|
2014-07-23 12:32:06 -04:00
|
|
|
<p><%= t 'activation.approval_required' %></p>
|
2014-07-14 12:25:42 -04:00
|
|
|
<% else %>
|
2014-07-23 12:32:06 -04:00
|
|
|
<p><%= t('activation.please_continue') %></p>
|
2015-03-08 20:45:36 -04:00
|
|
|
<p><a class="btn" href="<%= path "/" %>"><%= t('activation.continue_button', site_name: SiteSetting.title) -%></a></p>
|
2014-07-23 12:32:06 -04:00
|
|
|
<%= render partial: 'auto_redirect_home' %>
|
2014-07-14 12:25:42 -04:00
|
|
|
<% end %>
|
|
|
|
<%end%>
|
|
|
|
</div>
|