0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-15 06:12:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/connectors/admin-user-details/admin-user-wizard-details.hbs

28 Zeilen
787 B
Handlebars

2024-10-17 16:15:25 +02:00
<section class="details">
<h1>{{i18n "admin.wizard.user.label"}}</h1>
<div class="display-row">
<div class="field">{{i18n "admin.wizard.user.redirect.label"}}</div>
<div class="value">
{{#if model.redirect_to_wizard}}
<LinkTo
@route="adminWizardsWizardShow"
@model={{dasherize model.redirect_to_wizard}}
>
{{model.redirect_to_wizard}}
</LinkTo>
{{else}}
&mdash;
{{/if}}
</div>
<div class="controls">
{{#if model.redirect_to_wizard}}
<DButton
@action={{fn model.clearWizardRedirect model}}
@label="admin.wizard.user.redirect.remove_label"
@title="admin.wizard.user.redirect.remove_title"
/>
{{/if}}
</div>
</div>
</section>