mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 07:33:37 +08:00
552f16fc95
Use the `Discourse.base_path` when linking to hard coded images used in
the UI so that the correct subfolder path is used if present.
Follow up: 5c67b073ae
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
<div id='simple-container'>
|
|
<%if flash[:error]%>
|
|
<div class='alert alert-error'>
|
|
<%=flash[:error]%>
|
|
</div>
|
|
<%else%>
|
|
<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">
|
|
<img src="<%= Discourse.base_path + '/images/wizard/tada.svg' %>" alt="tada emoji" class="waving-hand">
|
|
</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>
|
|
<%end%>
|
|
</div>
|