diff --git a/templates/snip/index.html.twig b/templates/snip/index.html.twig index 7c20c2f..221109a 100644 --- a/templates/snip/index.html.twig +++ b/templates/snip/index.html.twig @@ -6,14 +6,17 @@

{{ title }}

Add -

+ +

{% for snip in snips %} - - {% if snip.createdBy == app.user %} - {{ include('snip/badge.html.twig', {snip: snip}) }} - {% endif %} - {{ snip }} + + + {% if snip.createdBy == app.user %} + {{ include('snip/badge.html.twig', {snip: snip}) }} + {% endif %} + {{ snip }} + {% if snip.createdBy != app.user %} {{ include('user/badge.html.twig', {user: snip.createdBy}) }} {% endif %}