mirror of
https://ghfast.top/https://github.com/discourse/discourse-signatures.git
synced 2026-07-17 11:46:59 +08:00
The placeholder makes it clear the the field expects an URL. Also removes an un-necessary wrapping div.
27 lines
No EOL
894 B
Handlebars
27 lines
No EOL
894 B
Handlebars
{{#if siteSettings.signatures_enabled}}
|
|
<div class="control-group signatures">
|
|
<label class="control-label">{{i18n "signatures.enable_signatures"}}</label>
|
|
<div class="controls">
|
|
<label class="checkbox-label">
|
|
<Input @type="checkbox" @checked={{model.see_signatures}} />
|
|
{{i18n "signatures.show_signatures"}}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="control-group signatures">
|
|
<label class="control-label">{{i18n "signatures.my_signature"}}</label>
|
|
{{#if siteSettings.signatures_advanced_mode}}
|
|
<DEditor
|
|
@value={{model.custom_fields.signature_raw}}
|
|
@showUploadModal="showUploadModal"
|
|
/>
|
|
{{else}}
|
|
<Input
|
|
@type="text"
|
|
class="input-xxlarge"
|
|
placeholder={{i18n "signatures.signature_placeholder"}}
|
|
@value={{model.custom_fields.signature_url}}
|
|
/>
|
|
{{/if}}
|
|
</div>
|
|
{{/if}} |