Improve chat experience and begin search implementation
This commit is contained in:
14
core/templates/partials/whatsapp-account-add.html
Normal file
14
core/templates/partials/whatsapp-account-add.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% if object.ok %}
|
||||
<img src="data:image/png;base64, {{ object.image_b64 }}" alt="WhatsApp QR code" />
|
||||
{% if object.warning %}
|
||||
<p class="is-size-7" style="margin-top: 0.6rem;">{{ object.warning }}</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<article class="notification is-warning is-light" style="margin-bottom: 0;">
|
||||
<p><strong>WhatsApp QR Not Ready.</strong></p>
|
||||
<p>{{ object.error|default:"No Neonize pairing QR is available yet." }}</p>
|
||||
{% if object.warning %}
|
||||
<p style="margin-top: 0.45rem;">{{ object.warning }}</p>
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user