Move created by badge to the right
This commit is contained in:
parent
3225ec5fe0
commit
be5e457d1b
@ -6,14 +6,17 @@
|
||||
<h1>{{ title }}</h1>
|
||||
<a class="btn btn-success" href="{{ path('snip_new') }}">
|
||||
<i class="fa fa-plus"></i> Add
|
||||
</a><br><br>
|
||||
</a>
|
||||
<br><br>
|
||||
<div class="list-group">
|
||||
{% for snip in snips %}
|
||||
<a class="list-group-item" href="{{ path('snip_single', {snip: snip.id}) }}">
|
||||
{% if snip.createdBy == app.user %}
|
||||
{{ include('snip/badge.html.twig', {snip: snip}) }}
|
||||
{% endif %}
|
||||
{{ snip }}
|
||||
<a class="list-group-item d-flex justify-content-between" href="{{ path('snip_single', {snip: snip.id}) }}">
|
||||
<span>
|
||||
{% if snip.createdBy == app.user %}
|
||||
{{ include('snip/badge.html.twig', {snip: snip}) }}
|
||||
{% endif %}
|
||||
{{ snip }}
|
||||
</span>
|
||||
{% if snip.createdBy != app.user %}
|
||||
{{ include('user/badge.html.twig', {user: snip.createdBy}) }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user