2014-07-15 00:25:42 +08:00
|
|
|
<div id='simple-container'>
|
|
|
|
<%if flash[:error]%>
|
|
|
|
<div class='alert alert-error'>
|
|
|
|
<%=flash[:error]%>
|
|
|
|
</div>
|
|
|
|
<%else%>
|
2022-07-30 01:03:11 +08:00
|
|
|
<div class='activate-account'>
|
|
|
|
<h1 class="activate-title"><%= t 'activation.welcome_to', site_name: SiteSetting.title %> <img src="<%= Emoji.url_for("wave") %>" alt="" class="waving-hand"></h1>
|
|
|
|
<br>
|
|
|
|
<div class='perform-activation'>
|
|
|
|
<div class="image">
|
2022-12-10 02:24:12 +08:00
|
|
|
<img src="<%= Discourse.base_path + '/images/wizard/tada.svg' %>" alt="tada emoji" class="waving-hand">
|
2022-07-30 01:03:11 +08:00
|
|
|
</div>
|
|
|
|
<% if @needs_approval %>
|
|
|
|
<p><%= t 'activation.approval_required' %></p>
|
|
|
|
<% else %>
|
|
|
|
<p><%= t('activation.please_continue') %></p>
|
|
|
|
<p><a class="btn" href="<%= path "/" %>"><%= t('activation.continue_button', site_name: SiteSetting.title) -%></a></p>
|
|
|
|
<%- content_for(:no_ember_head) do %>
|
|
|
|
<%= tag.meta id: 'data-auto-redirect', data: { path: path('/') } %>
|
|
|
|
<%- end %>
|
|
|
|
<%= preload_script 'auto-redirect' %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-15 00:25:42 +08:00
|
|
|
<%end%>
|
|
|
|
</div>
|