Browse Source

Templates, yet again

imwald
Nuša Pukšič 3 months ago
parent
commit
fff45f71fd
  1. 1
      templates/components/SearchComponent.html.twig
  2. 2
      templates/feedback/form.html.twig
  3. 2
      templates/pages/search.html.twig

1
templates/components/SearchComponent.html.twig

@ -26,7 +26,6 @@ @@ -26,7 +26,6 @@
{% if not is_granted('IS_AUTHENTICATED_FULLY') %}
<div class="notice info mb-5">
<p>Log in to search articles.</p>
<small>Currently only available on desktop.</small>
</div>
{% endif %}

2
templates/feedback/form.html.twig

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
{% block body %}
<div class="w-container mt-5">
<twig:Atoms:PageHeading heading="Feedback" tagline="Bug reports and feature requests welcome"/>
<section>
<form data-controller="nostr-single-sign" data-nostr-single-sign-event-value='{{ {
"kind": 24,
"tags": [...recipients|map(r => ["p", r]), ['client', 'Decent Newsroom']],
@ -29,6 +30,7 @@ @@ -29,6 +30,7 @@
<h5 class="mt-4">Preview</h5>
<pre data-nostr-single-sign-target="computedPreview" class="bg-light p-2"></pre>
</form>
</section>
</div>
{% endblock %}

2
templates/pages/search.html.twig

@ -10,7 +10,9 @@ @@ -10,7 +10,9 @@
<p class="eyebrow">hidden gems</p>
</div>
</section>
<section>
<twig:SearchComponent />
</section>
{% endblock %}
{% block aside %}

Loading…
Cancel
Save