comparison sat_templates/templates/bulma/components/url_preview_control.html @ 364:095bd5b34080

chat: add templates for URL previews
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:40:53 +0200
parents
children 941e4006ab6e
comparison
equal deleted inserted replaced
363:cddac8502c4b 364:095bd5b34080
1 {% block url_preview %}
2 <div class="notification is-info is-light m-5">
3 <div class="content">
4 <h4 class="title is-4">{% trans %}URL Preview{% endtrans %}</h4>
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>
6 <div class="buttons">
7 <a class="button is-link action_go_to_settings" href="#">
8 <span class="icon">
9 {{ icon('wrench') }}
10 </span>
11 <span>{% trans %}Go to Settings{% endtrans %}</span>
12 </a>
13 <button class="button is-primary action_fetch_preview">
14 <span class="icon">
15 {{ icon('eye') }}
16 </span>
17 <span>{% trans %}Fetch Preview{% endtrans %}</span>
18 </button>
19 </div>
20 </div>
21 </div>
22 {% endblock url_preview %}