annotate sat_templates/templates/bulma/components/url_preview_control.html @ 411:f7a434581872 default tip

chat: Add forward, rich editing and extra recipients: - There is a new "forward" menu in message. For now, a simple prompt ask for recipient JID. - A new "extra" menu is available next to input field. Inside there are 2 items for now: add extra recipient, and toggle rich edit mode. - Extra recipient option add a field to add an email-like "to", "cc" or "bcc" recipients. - Rich edit let use rich styling such as bold, italic, underline, etc. rel 461
author Goffi <goffi@goffi.org>
date Fri, 04 Jul 2025 17:33:22 +0200
parents 941e4006ab6e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
364
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% block url_preview %}
385
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents: 364
diff changeset
2 <div class="notification is-info is-light my-5">
364
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
3 <div class="content">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <h4 class="title is-4">{% trans %}URL Preview{% endtrans %}</h4>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <p class="mb-4">{% trans %}To protect your privacy, we don't automatically fetch URL previews. If you want to preview this URL, just hit the "Fetch Preview" button. You can customize this preference in your settings.{% endtrans %}</p>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class="buttons">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <a class="button is-link action_go_to_settings" href="#">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <span class="icon">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {{ icon('wrench') }}
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
11 <span>{% trans %}Go to Settings{% endtrans %}</span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </a>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
13 <button class="button is-primary action_fetch_preview">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
14 <span class="icon">
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {{ icon('eye') }}
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <span>{% trans %}Fetch Preview{% endtrans %}</span>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
18 </button>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
19 </div>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
20 </div>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
21 </div>
095bd5b34080 chat: add templates for URL previews
Goffi <goffi@goffi.org>
parents:
diff changeset
22 {% endblock url_preview %}