misuzu/templates/manage/changelog/changes.twig

22 lines
739 B
Twig
Raw Normal View History

2018-08-15 01:12:58 +00:00
{% extends 'manage/changelog/master.twig' %}
2018-10-22 19:53:21 +00:00
{% from 'macros.twig' import pagination, container_title %}
{% from 'changelog/macros.twig' import changelog_listing %}
2018-07-07 01:32:09 +00:00
{% block manage_content %}
2018-08-15 20:29:18 +00:00
<a href="?v=change" class="input__button">Create new change</a>
2018-07-07 01:32:09 +00:00
<div class="container">
2018-10-22 19:53:21 +00:00
{{ container_title('Changelog') }}
<div class="changelog__content">
{{ changelog_listing(
changelog_changes, false, true,
'?v=change&c=%d', '#cd-%s',
'?v=tag&t=%d',
'/manage/user.php?v=view&u=%d'
) }}
{{ pagination(changelog_changes_count, changelog_take, changelog_offset, '?v=changes') }}
</div>
2018-07-07 01:32:09 +00:00
</div>
{% endblock %}