0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 10:20:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/connectors/admin-user-details/admin-user-wizard-details.hbs

28 Zeilen
793 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">
2024-11-22 17:11:51 +01:00
{{#if @model.redirect_to_wizard}}
2024-10-17 16:15:25 +02:00
<LinkTo
@route="adminWizardsWizardShow"
2024-11-22 17:11:51 +01:00
@model={{dasherize @model.redirect_to_wizard}}
2024-10-17 16:15:25 +02:00
>
2024-11-22 17:11:51 +01:00
{{@model.redirect_to_wizard}}
2024-10-17 16:15:25 +02:00
</LinkTo>
{{else}}
&mdash;
{{/if}}
</div>
<div class="controls">
2024-11-22 17:11:51 +01:00
{{#if @model.redirect_to_wizard}}
2024-10-17 16:15:25 +02:00
<DButton
2024-11-22 17:11:51 +01:00
@action={{fn @model.clearWizardRedirect @model}}
2024-10-17 16:15:25 +02:00
@label="admin.wizard.user.redirect.remove_label"
@title="admin.wizard.user.redirect.remove_title"
/>
{{/if}}
</div>
</div>
</section>