Implement snip hiding

This commit is contained in:
Tim
2025-04-25 22:17:27 +02:00
parent 5a940b9ebd
commit 7c4a2b46c0
13 changed files with 541 additions and 24 deletions

View File

@ -0,0 +1,16 @@
{% extends 'base/single.column.html.twig' %}
{% set title = 'Public Snips' %}
{% block body %}
<div class="list-group">
{% for snip in snips %}
<a class="list-group-item d-flex justify-content-between" href="{{ path('snip_single', {snip: snip.id}) }}">
<span>
{{ snip }}
</span>
{{ include('user/badge.html.twig', {user: snip.createdBy}) }}
</a>
{% endfor %}
</div>
{% endblock %}