annotate sat_templates/templates/bulma/components/url_preview_control.html @ 385:941e4006ab6e

bulma (message): reactions + fixes: - add "reaction" button - fix attachments display - add reaction templates - add reactions to messages - fix "info" messages display
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 15:22:11 +0100
parents 095bd5b34080
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 %}