2017-04-04 13:59:22 -04:00
|
|
|
<div id='simple-container'>
|
|
|
|
<h2><%= t 'activation.admin_confirm.title' %></h2>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<%- unless @confirmed %>
|
2019-11-04 04:17:00 -05:00
|
|
|
<%=raw (t('activation.admin_confirm.description', target_email: @confirmation.target_user.email, target_username: @confirmation.target_user.username)) %>
|
2017-04-04 13:59:22 -04:00
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<%= form_tag do %>
|
|
|
|
<%= submit_tag t('activation.admin_confirm.grant'), class: 'btn btn-primary' %>
|
|
|
|
<% end %>
|
|
|
|
<% else %>
|
|
|
|
<%=raw (t('activation.admin_confirm.complete', target_username: @confirmation.target_user.username)) %>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
2017-10-27 16:46:02 -04:00
|
|
|
<%= link_to t("activation.admin_confirm.back_to", title: SiteSetting.title), Discourse.base_url, class: 'btn btn-primary' %>
|
2017-04-04 13:59:22 -04:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
</div>
|