phpcomposeryggdrasilbittorrentjs-lesssymfonysphinxalt-webcatalogtorrentmagnetwikidistributedsocial-networkfederatedsqlitetracker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.5 KiB
47 lines
2.5 KiB
1 year ago
|
{% extends 'default/layout.html.twig' %}
|
||
1 year ago
|
{% block title %}{{ 'Activity' | trans }}{% if pagination.page > 1 %} - {{ 'Page' | trans }} {{ pagination.page }}{% endif %} - {{ name }}{% endblock %}
|
||
1 year ago
|
{% block main_content %}
|
||
|
{% for activity in activities %}
|
||
|
<div class="padding-16-px margin-y-8-px border-radius-3-px background-color-night">
|
||
1 year ago
|
{{ render(controller(
|
||
1 year ago
|
'App\\Controller\\ActivityController::event',
|
||
1 year ago
|
{ activity : activity }
|
||
|
)) }}
|
||
1 year ago
|
</div>
|
||
|
{% endfor %}
|
||
1 year ago
|
{% if pagination.pages > 1 %}
|
||
|
<div class="row margin-t-16-px">
|
||
|
<div class="column width-50 padding-t-16-px">
|
||
|
|
||
|
{# @TODO
|
||
|
<a class="text-color-night" href="#" title="RSS">
|
||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||
|
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
|
||
|
</svg>
|
||
|
</a>
|
||
|
#}
|
||
|
</div>
|
||
|
<div class="column width-50 text-right">
|
||
|
{% if pagination.pages > 1 %}
|
||
|
{{ 'Page' | trans | lower }} {{ pagination.page }} / {{ pagination.pages }}
|
||
|
{% if pagination.page > 1 %}
|
||
|
{% if pagination.page == 2 %}
|
||
1 year ago
|
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('activity_all') }}">
|
||
1 year ago
|
{{ 'Back' | trans | lower }}
|
||
|
</a>
|
||
|
{% else %}
|
||
1 year ago
|
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('activity_all', { page : pagination.page - 1 }) }}">
|
||
1 year ago
|
{{ 'Back' | trans | lower }}
|
||
|
</a>
|
||
|
{% endif %}
|
||
|
{% endif %}
|
||
|
{% if pagination.page < pagination.pages %}
|
||
1 year ago
|
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('activity_all', { page : pagination.page + 1 }) }}">
|
||
1 year ago
|
{{ 'Next' | trans | lower }}
|
||
|
</a>
|
||
|
{% endif %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endif %}
|
||
1 year ago
|
{% endblock %}
|