mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
20 lines
562 B
Plaintext
20 lines
562 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="/"><%= t('activation.continue_button', site_name: SiteSetting.title) -%></a></p>
|
|
<%= render partial: 'auto_redirect_home' %>
|
|
<% end %>
|
|
<%end%>
|
|
</div>
|