Skip to content

Commit

Permalink
fix: little ui adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodeloo committed Jan 22, 2024
1 parent 67b8abf commit 3ca21ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lacommunaute/templates/forum_search/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>{% trans "Search forums" %}</h1>
<div class="col-12">
<div class="c-box">
{% if page.paginator.count %}
<div class="row">
<div class="row align-items-center">
<div class="col">
<h3 class="h4 mb-0">{{ page.paginator.count }} {% trans "result" %}{{ page.paginator.count|pluralizefr }}</h3>
</div>
Expand Down Expand Up @@ -99,7 +99,7 @@ <h3 class="h4 mb-0">{{ page.paginator.count }} {% trans "result" %}{{ page.pagin
</table>
</div>
{% else %}
<div class="row">
<div class="row align-items-center">
<div class="col">
<h3 class="h4 mb-0">Aucun résultat ? Posez votre question dans l'espace d'échanges !</h3>
</div>
Expand Down
6 changes: 5 additions & 1 deletion lacommunaute/templates/forum_search/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
</div>
<div class="form-row align-items-end">
<div class="col-auto">{{ form.m.label }}</div>
{% for m in form.m %}<div class="col-auto">{{ m }}{{ m.label }}</div>{% endfor %}
<div class="col">
<ul class="list-inline mb-0">
{% for m in form.m %}<li class="list-inline-item me-3">{{ m }}{{ m.label }}</li>{% endfor %}
</ul>
</div>
</div>
</form>

0 comments on commit 3ca21ad

Please sign in to comment.