FIX: Broken images on subfolder installs (#19404)
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
This commit is contained in:
parent
5c67b073ae
commit
552f16fc95
|
@ -13,6 +13,6 @@
|
|||
</div>
|
||||
|
||||
<div class='row finish-installation-image'>
|
||||
<%= image_tag "/images/wizard/tada.svg", class: "tada" %>
|
||||
<img src="<%= Discourse.base_path + '/images/wizard/tada.svg' %>" alt="tada emoji" class="tada">
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<br>
|
||||
<div class='perform-activation'>
|
||||
<div class="image">
|
||||
<img src="/images/wizard/tada.svg" alt="" class="waving-hand">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue