0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-28 20:00:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/connectors/admin-user-details/admin-user-wizard-details.hbs
Angus McLeod ce55b4671e Linting
2024-11-22 17:11:51 +01:00

28 Zeilen
Kein EOL
793 B
Handlebars

<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>