2019-08-21 14:41:27 +02:00
|
|
|
<div id="{{theme_mode}}-logo-section" class="realm-logo-section">
|
|
|
|
<div class="inline-block realm-logo-block">
|
|
|
|
<img class="realm-logo-img" src="{{ logo_url }}"/>
|
|
|
|
<input type="file" name="realm-logo-file-input"
|
|
|
|
class="realm-logo-file-input notvisible" value="{{t 'Upload logo' }}"/>
|
|
|
|
</div>
|
2020-03-28 20:28:14 +01:00
|
|
|
{{#if is_admin}}
|
2019-08-21 14:41:27 +02:00
|
|
|
<div class="inline-block avatar-controls">
|
|
|
|
<div class="realm-logo-file-input-error alert text-error"></div>
|
2020-05-08 13:30:34 +02:00
|
|
|
{{#if zulip_plan_is_not_limited}}
|
2019-08-21 14:41:27 +02:00
|
|
|
<button class="realm-logo-upload-button button rounded sea-green w-200 block input-size {{theme_mode}}-settings">
|
|
|
|
<span class="upload-logo-button-text">{{t 'Upload new logo' }}</span>
|
|
|
|
<span class="upload-logo-spinner"></span>
|
|
|
|
</button>
|
|
|
|
<button class="realm-logo-delete-button button rounded btn-danger w-200 m-t-10 block input-size">
|
|
|
|
{{t 'Delete logo' }}
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2020-03-28 20:28:14 +01:00
|
|
|
{{/if}}
|
2019-08-21 14:41:27 +02:00
|
|
|
</div>
|