mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-09 11:48:47 +00:00
24 lines
720 B
Handlebars
24 lines
720 B
Handlebars
|
<label class="control-label">{{i18n "discourse_ai.title"}}</label>
|
||
|
|
||
|
{{#if this.canToggleAutoImageCaption}}
|
||
|
<div class="control-group ai-setting">
|
||
|
<PreferenceCheckbox
|
||
|
@labelKey="discourse_ai.ai_helper.image_caption.automatic_caption_setting"
|
||
|
@checked={{this.model.user_option.auto_image_caption}}
|
||
|
data-setting-name="auto-image-caption"
|
||
|
class="pref-auto-image-caption"
|
||
|
/>
|
||
|
</div>
|
||
|
|
||
|
<SaveControls
|
||
|
@id="user_ai_preference_save"
|
||
|
@model={{this.model}}
|
||
|
@action={{this.save}}
|
||
|
@saved={{this.saved}}
|
||
|
/>
|
||
|
{{else}}
|
||
|
<EmptyState
|
||
|
@title={{i18n "discourse_ai.user_preferences.empty_state.title"}}
|
||
|
@body={{i18n "discourse_ai.user_preferences.empty_state.body"}}
|
||
|
/>
|
||
|
{{/if}}
|