2018-08-15 03:12:58 +02:00
|
|
|
{% extends 'manage/changelog/master.twig' %}
|
2018-08-15 19:20:41 +02:00
|
|
|
{% from 'macros.twig' import pagination %}
|
2018-07-07 03:32:09 +02:00
|
|
|
|
2018-08-15 19:20:41 +02:00
|
|
|
{% block manage_content %}
|
2018-08-15 22:29:18 +02:00
|
|
|
<a href="?v=action" class="input__button">Create new action</a>
|
2018-07-07 03:32:09 +02:00
|
|
|
|
|
|
|
<div class="container listing changelog-tags">
|
|
|
|
{% for action in changelog_actions %}
|
|
|
|
<a href="?v=action&a={{ action.action_id }}" class="listing__entry changelog-tags__entry"
|
|
|
|
style="{{ action.action_colour|html_colour({'border-color':'%s'}) }}">
|
|
|
|
<div class="listing__entry__content changelog-tags__content">
|
|
|
|
<div class="changelog-tags__text">
|
|
|
|
{{ action.action_name }} ({{ action.action_count }})
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
2018-08-15 22:29:18 +02:00
|
|
|
<div class="pagination__wrapper">
|
2018-07-07 03:32:09 +02:00
|
|
|
{{ pagination(changelog_actions_count, changelog_take, changelog_offset, '?v=actions') }}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|