User page fix.
This commit is contained in:
parent
24793120ff
commit
0242463739
|
@ -22,7 +22,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<ul class="users mosaic">
|
<ul class="users mosaic">
|
||||||
{% for sub in user.subscribers %}
|
{% for sub in user.subscribers %}
|
||||||
<li><a href="{{ url('user_show', {login: sub.subscriber.login}) }}" {# class="user" #}>@{{ sub.subscriber.login }}</a></li>
|
<li><a href="{{ url('user_show', {login: sub.subscriber.login}) }}">@{{ sub.subscriber.login }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -55,10 +55,10 @@
|
||||||
{% for event in log %}
|
{% for event in log %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ url('user_show', {login: event.subscriber.login}) }}" {# class="user" #}>@{{ event.subscriber.login }}</a>
|
<a href="{{ url('user_show', {login: event.subscriber.login}) }}">@{{ event.subscriber.login }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="glyphicon {% if event.action == 'subscribe' %}glyphicon-plus{% elseif event.action == 'unsubscribe' %}glyphicon-minus{% endif %}"></span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{# Use DateTime helper: https://sonata-project.org/bundles/intl/master/doc/reference/datetime.html #}
|
{# Use DateTime helper: https://sonata-project.org/bundles/intl/master/doc/reference/datetime.html #}
|
||||||
|
|
Loading…
Reference in a new issue